public class SamIdentifier
extends java.lang.Object
SAM Revision (see SamRevision)
Serial Number (may be a regular expression)
Group reference (key group reference)
| Modifier and Type | Class and Description |
|---|---|
static class |
SamIdentifier.SamIdentifierBuilder
Deprecated.
Builder for a
SamIdentifier |
| Modifier and Type | Method and Description |
|---|---|
static SamIdentifier.SamIdentifierBuilder |
builder()
Deprecated.
Gets a new builder.
|
java.lang.String |
getGroupReference()
Deprecated.
|
SamRevision |
getSamRevision()
Deprecated.
|
java.lang.String |
getSerialNumber()
Deprecated.
|
boolean |
matches(SamIdentifier samIdentifier)
Deprecated.
Compare two SamIdentifiers with the following rules:
when the provided
SamIdentifier is null the result is true
when the provided SamIdentifier is not null
the AUTO revision matches any revision
if not null, the serial number is used as a regular expression to check the current
serial number
if not null the group reference is compared as a string
|
public static SamIdentifier.SamIdentifierBuilder builder()
public SamRevision getSamRevision()
public java.lang.String getSerialNumber()
public java.lang.String getGroupReference()
public boolean matches(SamIdentifier samIdentifier)
SamIdentifier is null the result is true
SamIdentifier is not null
samIdentifier - the SamIdentifier object to be compared to the current object