Interface InitTabEntry
- All Superinterfaces:
UserAttributeContainer
An init tab entry.
- Author:
- Kevin Goeser
-
Method Summary
Modifier and TypeMethodDescriptionReturns a descriptive comment for the entry.intgetID()Gets the internal ID of the entry.Returns the init type ofintgetLevel()Returns the level of the entry.Returns the template ID of the init tab entry.booleanReturns true, if the entry is enabled, ie.booleanReturns true, if the instance should fork, false if init should wait until it is completed.Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Method Details
-
getID
int getID()Gets the internal ID of the entry.- Returns:
- The internal ID of the entry.
-
getInitType
InitType getInitType()Returns the init type of- Returns:
- The type of init.
-
getLevel
int getLevel()Returns the level of the entry.- Returns:
- The level of the entry.
-
getTemplateID
UUID getTemplateID()Returns the template ID of the init tab entry.- Returns:
- The ID of the template to be executed.
-
isForking
boolean isForking()Returns true, if the instance should fork, false if init should wait until it is completed. This is only valid for theInitType.BOOT.- Returns:
- True, if the instance should fork.
-
getComment
String getComment()Returns a descriptive comment for the entry.- Returns:
- A descriptive comment.
-
isEnabled
boolean isEnabled()Returns true, if the entry is enabled, ie. the template will be executed.- Returns:
- True, if the entry is enabled.
-