Class Mission
java.lang.Object
dev.getelements.elements.sdk.model.mission.Mission
- All Implemented Interfaces:
Taggable
,Serializable
Represents a mission.
Created by davidjbrooks on 11/23/2018.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadata
(String name, Object value) boolean
getId()
getName()
int
getStepIndex
(Step step) Returns the index for the given step, or -1 if not found.getSteps()
getTags()
int
hashCode()
void
setDescription
(String description) void
setDisplayName
(String displayName) void
setFinalRepeatStep
(Step finalRepeatStep) void
void
setMetadata
(Map<String, Object> metadata) void
void
void
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.model.Taggable
addTag, validateAndAddTag, validateAndSetTags, validateTags
-
Constructor Details
-
Mission
public Mission()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getDisplayName
-
setDisplayName
-
getDescription
-
setDescription
-
getTags
-
setTags
-
getSteps
-
setSteps
-
getFinalRepeatStep
-
setFinalRepeatStep
-
getMetadata
-
setMetadata
-
addMetadata
-
getStepIndex
Returns the index for the given step, or -1 if not found.- Parameters:
step
-- Returns:
- index if found, or -1 if not found.
-
equals
-
hashCode
public int hashCode() -
toString
-