Package org.jboss.as.controller
Class OperationDefinition
- java.lang.Object
-
- org.jboss.as.controller.OperationDefinition
-
- All Implemented Interfaces:
Feature
- Direct Known Subclasses:
SimpleOperationDefinition
public abstract class OperationDefinition extends Object implements Feature
Defining characteristics of operation in aResource- Author:
- Tomaz Cerar
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AccessConstraintDefinition>accessConstraintsprotected DeprecationDatadeprecationDataprotected DescriptionProviderdescriptionProviderprotected OperationEntry.EntryTypeentryTypeprotected Set<OperationEntry.Flag>flagsprotected Stringnameprotected AttributeDefinition[]parametersprotected booleanreplyAllowNullprotected AttributeDefinition[]replyParametersprotected org.jboss.dmr.ModelTypereplyTypeprotected org.jboss.dmr.ModelTypereplyValueType
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperationDefinition(SimpleOperationDefinitionBuilder builder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<AccessConstraintDefinition>getAccessConstraints()DeprecationDatagetDeprecationData()abstract DescriptionProvidergetDescriptionProvider()OperationEntry.EntryTypegetEntryType()Set<OperationEntry.Flag>getFlags()Gets an immutable set of anyflagsassociated with the operation.StringgetName()AttributeDefinition[]getParameters()AttributeDefinition[]getReplyParameters()org.jboss.dmr.ModelTypegetReplyType()org.jboss.dmr.ModelTypegetReplyValueType()Only required if the reply type is some form of collection.StabilitygetStability()Returns the stability level of this feature.booleanisDeprecated()booleanisReplyAllowNull()
-
-
-
Field Detail
-
name
protected final String name
-
entryType
protected final OperationEntry.EntryType entryType
-
flags
protected final Set<OperationEntry.Flag> flags
-
parameters
protected final AttributeDefinition[] parameters
-
replyType
protected final org.jboss.dmr.ModelType replyType
-
replyValueType
protected final org.jboss.dmr.ModelType replyValueType
-
replyAllowNull
protected final boolean replyAllowNull
-
deprecationData
protected final DeprecationData deprecationData
-
replyParameters
protected final AttributeDefinition[] replyParameters
-
accessConstraints
protected final List<AccessConstraintDefinition> accessConstraints
-
descriptionProvider
protected final DescriptionProvider descriptionProvider
-
-
Constructor Detail
-
OperationDefinition
protected OperationDefinition(SimpleOperationDefinitionBuilder builder)
-
-
Method Detail
-
getStability
public Stability getStability()
Description copied from interface:FeatureReturns the stability level of this feature.- Specified by:
getStabilityin interfaceFeature- Returns:
- a stability level
-
getName
public String getName()
-
getEntryType
public OperationEntry.EntryType getEntryType()
-
getFlags
public Set<OperationEntry.Flag> getFlags()
Gets an immutable set of anyflagsassociated with the operation.- Returns:
- the flags. Will not return
nullbe may be empty
-
getParameters
public AttributeDefinition[] getParameters()
-
getReplyType
public org.jboss.dmr.ModelType getReplyType()
-
getReplyValueType
public org.jboss.dmr.ModelType getReplyValueType()
Only required if the reply type is some form of collection.
-
getAccessConstraints
public List<AccessConstraintDefinition> getAccessConstraints()
-
getDescriptionProvider
public abstract DescriptionProvider getDescriptionProvider()
-
getDeprecationData
public DeprecationData getDeprecationData()
-
isDeprecated
public boolean isDeprecated()
-
isReplyAllowNull
public boolean isReplyAllowNull()
-
getReplyParameters
public AttributeDefinition[] getReplyParameters()
-
-