@Repeatable(value=HasCustomUpdateActions.class) @Target(value=METHOD) @Retention(value=CLASS) public @interface HasUpdateAction
Modifier and Type | Optional Element and Description |
---|---|
String |
className |
CopyFactoryMethod[] |
copyFactoryMethods |
String |
exampleBaseClass
This adds a {code @include.example exampleBaseClass#updateActionTestName()} javadoc tag
to all generated update actions.
|
FactoryMethod[] |
factoryMethods |
PropertySpec[] |
fields |
boolean |
generateDefaultFactory
Specifies whether there should be a default factory method generated.
|
boolean |
makeAbstract |
Class[] |
superInterfaces |
String |
value
Used to specify the action name
|
public abstract String value
public abstract String className
public abstract PropertySpec[] fields
public abstract String exampleBaseClass
Where <i>updateActionTestName</i>
is derived by un-capitalizing the update action name
(e.g. for a SetKey
update action the updateActionTestName is setKey
.
This follows our convention to have integration tests for all of our update actions.
public abstract FactoryMethod[] factoryMethods
public abstract CopyFactoryMethod[] copyFactoryMethods
public abstract Class[] superInterfaces