@InterfaceStability.Evolving public class ExclusionOp extends Object
Admin
for details.Modifier and Type | Class and Description |
---|---|
static class |
ExclusionOp.OpType |
Constructor and Description |
---|
ExclusionOp(ExclusionOp.OpType operationType) |
ExclusionOp(ExclusionOp.OpType operationType,
String reason) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
ExclusionOp.OpType |
opType() |
String |
reason() |
String |
toString() |
public ExclusionOp(ExclusionOp.OpType operationType)
operationType
- - the type of exclusionpublic ExclusionOp(ExclusionOp.OpType operationType, String reason)
operationType
- - the type of exclusionreason
- - a string denoting the reason for this exclusion.
A valid reason string must be less than 32 characters, can only contain ASCII alphanumerics,
`.`, `-`, `_` and cannot be either `.` or `..`public String reason()
public ExclusionOp.OpType opType()