|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.search.Pattern
com.cisco.provisioning.cpe.api.search.DeviceIDPattern
com.cisco.provisioning.cpe.api.search.MACAddressPattern
public final class MACAddressPattern
Creates a new pattern for matching MAC Addresses
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
MACAddressPattern(String pattern)
Use this constructor to create a new MACAddressPattern This method will throw an APIArgumentException if the specified
pattern is invalid or is specified as null. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this MACAddressPattern object is equal to the specified object. |
int |
hashCode()
The hash code of this object. |
| Methods inherited from class com.cisco.provisioning.cpe.api.search.DeviceIDPattern |
|---|
toString |
| Methods inherited from class com.cisco.provisioning.cpe.api.search.Pattern |
|---|
getPattern |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public MACAddressPattern(String pattern)
This method will throw an
APIArgumentException if the specified
pattern is invalid or is specified as null. A valid pattern
is a non-null String that begins with the type and length MAC address
prefix, include 0 or more bytes to match against, and end with a
single asterisk (*). Partial octet end of the string is not allowed.
The following are VALID MAC address patterns:
The following are INVALID MAC address patterns:
pattern - A valid string to match items against. This value
is required and cannot be specified as null. If
it is specified as null or if it is an invalid regex
pattern the runtime exception
APIArgumentException
will be thrown.| Method Detail |
|---|
public int hashCode()
Object.hashCode for more information.
hashCode in class DeviceIDPatternpublic boolean equals(Object obj)
equals in class DeviceIDPattern
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||