Class BaseDefinition
- java.lang.Object
-
- org.openstack4j.openstack.workflow.domain.BaseDefinition
-
- All Implemented Interfaces:
Serializable
,Buildable<DefinitionBuilder>
,ModelEntity
,Definition
- Direct Known Subclasses:
MistralActionDefinition
,MistralWorkbookDefinition
,MistralWorkflowDefinition
public abstract class BaseDefinition extends Object implements Definition
Base class for all definition models.- Author:
- Renat Akhmerov
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseDefinition.BaseDefinitionBuilder<T extends DefinitionBuilder<T,M>,M extends BaseDefinition>
Base definition builder.-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description BaseDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
String
getDefinition()
String
getId()
String
getName()
String
getProjectId()
Scope
getScope()
List<String>
getTags()
Date
getUpdatedAt()
Boolean
isSystem()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceDefinition
- Returns:
- The id of this definition.
-
getName
public String getName()
- Specified by:
getName
in interfaceDefinition
- Returns:
- The name of this definition.
-
getDefinition
public String getDefinition()
- Specified by:
getDefinition
in interfaceDefinition
- Returns:
- The text of this definition.
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAt
in interfaceDefinition
- Returns:
- the createdAt
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAt
in interfaceDefinition
- Returns:
- the updatedAt
-
isSystem
public Boolean isSystem()
- Specified by:
isSystem
in interfaceDefinition
- Returns:
True
if the definition is system (not createdAt by user).
-
getTags
public List<String> getTags()
- Specified by:
getTags
in interfaceDefinition
- Returns:
- User tags.
-
getScope
public Scope getScope()
- Specified by:
getScope
in interfaceDefinition
- Returns:
- Definition scope.
-
getProjectId
public String getProjectId()
- Specified by:
getProjectId
in interfaceDefinition
- Returns:
- Definition project ID.
-
-