public class MatchersEnumType extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected MatcherRule |
enumClass |
protected String |
enumImplements |
protected String |
expression |
| Constructor and Description |
|---|
MatchersEnumType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
MatcherRule |
getEnumClass()
This rule influences the naming of the generated
EnumType object. |
String |
getEnumImplements()
This string provides additional interfaces that a generated
EnumType should implement. |
String |
getExpression()
This sequence matcher applies to all unqualified or qualified enum names matched by this expression.
|
int |
hashCode() |
void |
setEnumClass(MatcherRule value)
Sets the value of the enumClass property.
|
void |
setEnumImplements(String value)
Sets the value of the enumImplements property.
|
void |
setExpression(String value)
Sets the value of the expression property.
|
String |
toString() |
MatchersEnumType |
withEnumClass(MatcherRule value) |
MatchersEnumType |
withEnumImplements(String value) |
MatchersEnumType |
withExpression(String value) |
protected String expression
protected MatcherRule enumClass
protected String enumImplements
public String getExpression()
Stringpublic void setExpression(String value)
value - allowed object is
Stringpublic MatcherRule getEnumClass()
EnumType object.MatcherRulepublic void setEnumClass(MatcherRule value)
value - allowed object is
MatcherRulepublic String getEnumImplements()
EnumType should implement.Stringpublic void setEnumImplements(String value)
value - allowed object is
Stringpublic MatchersEnumType withExpression(String value)
public MatchersEnumType withEnumClass(MatcherRule value)
public MatchersEnumType withEnumImplements(String value)
Copyright © 2019. All rights reserved.