Class HeatStack
- java.lang.Object
-
- org.openstack4j.openstack.heat.domain.HeatStack
-
- All Implemented Interfaces:
Serializable,Stack,ModelEntity
public class HeatStack extends Object implements Stack
This is a model of a heatstack. It uses Jackson annotations for (de)serialization into JSON format- Author:
- Matthias Reisser
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeatStack.StacksAn inner class for representing lists of HeatStacks
-
Constructor Summary
Constructors Constructor Description HeatStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreationTime()Returns the timestamp of the creation.StringgetDescription()Returns the description of the stackStringgetId()Returns the id of the stackList<GenericLink>getLinks()Returns a list of links to resources of the stackStringgetName()Returns the name of the stackList<Map<String,Object>>getOutputs()Returns the list of outputs of the stackMap<String,String>getParameters()Returns the parameters of the stackStringgetStackStatusReason()Returns the reason for the stack statusStringgetStatus()Returns the status of the stackList<String>getTags()Returns the tags associated with the stack.StringgetTemplateDescription()Returns the template descriptionLonggetTimeoutMins()Returns the stacks timeout in minutesStringgetUpdatedTime()Returns the timestamp of the last update.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:StackReturns the name of the stack
-
getStatus
public String getStatus()
Description copied from interface:StackReturns the status of the stack
-
getDescription
public String getDescription()
Description copied from interface:StackReturns the description of the stack- Specified by:
getDescriptionin interfaceStack- Returns:
- the description of the stack
-
getTemplateDescription
public String getTemplateDescription()
Description copied from interface:StackReturns the template description- Specified by:
getTemplateDescriptionin interfaceStack- Returns:
- the template description
-
getTimeoutMins
public Long getTimeoutMins()
Description copied from interface:StackReturns the stacks timeout in minutes- Specified by:
getTimeoutMinsin interfaceStack- Returns:
- the timeout in minutes
-
getOutputs
public List<Map<String,Object>> getOutputs()
Description copied from interface:StackReturns the list of outputs of the stack- Specified by:
getOutputsin interfaceStack- Returns:
- a List of Maps. Each Map consists of one element with: Key is the Name of the output, Value is Json formatted containing output_value, description and output_key
-
getParameters
public Map<String,String> getParameters()
Description copied from interface:StackReturns the parameters of the stack- Specified by:
getParametersin interfaceStack- Returns:
- the parameters of the stack. Key is the name, value is the value of the key
-
getCreationTime
public String getCreationTime()
Description copied from interface:StackReturns the timestamp of the creation.- Specified by:
getCreationTimein interfaceStack- Returns:
- Timestamp formated like this: 2014-06-03T20:59:46Z
-
getLinks
public List<GenericLink> getLinks()
Description copied from interface:StackReturns a list of links to resources of the stack- Specified by:
getLinksin interfaceStack- Returns:
- a list of
GenericLinkobjects
-
getUpdatedTime
public String getUpdatedTime()
Description copied from interface:StackReturns the timestamp of the last update.- Specified by:
getUpdatedTimein interfaceStack- Returns:
- Timestamp formated like this: 2014-06-03T20:59:46Z
-
getTags
public List<String> getTags()
Description copied from interface:StackReturns the tags associated with the stack.
-
getStackStatusReason
public String getStackStatusReason()
Description copied from interface:StackReturns the reason for the stack status- Specified by:
getStackStatusReasonin interfaceStack- Returns:
- the stack status reason
-
-