java.lang.Object
com.zeroc.IceGrid.ApplicationDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes an application.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ApplicationDescriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe description of this application.The application distribution.The application name.The node descriptors.Property set descriptors.The replica groups.The server templates.The service templates.The variables defined in the application descriptor. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aApplicationDescriptor.ApplicationDescriptor(String name, Map<String, String> variables, List<ReplicaGroupDescriptor> replicaGroups, Map<String, TemplateDescriptor> serverTemplates, Map<String, TemplateDescriptor> serviceTemplates, Map<String, NodeDescriptor> nodes, DistributionDescriptor distrib, String description, Map<String, PropertySetDescriptor> propertySets) Constructs aApplicationDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ApplicationDescriptorice_read(InputStream istr) Unmarshals anApplicationDescriptorfrom an input stream.static Optional<ApplicationDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalApplicationDescriptorfrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, ApplicationDescriptor v) Marshals an optionalApplicationDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ApplicationDescriptor> v) Marshals an optionalApplicationDescriptorinto an output stream.static voidice_write(OutputStream ostr, ApplicationDescriptor v) Marshals anApplicationDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The application name. -
variables
The variables defined in the application descriptor. -
replicaGroups
The replica groups. -
serverTemplates
The server templates. -
serviceTemplates
The service templates. -
nodes
The node descriptors. -
distrib
The application distribution. -
description
The description of this application. -
propertySets
Property set descriptors.
-
-
Constructor Details
-
ApplicationDescriptor
public ApplicationDescriptor()Constructs aApplicationDescriptor. -
ApplicationDescriptor
public ApplicationDescriptor(String name, Map<String, String> variables, List<ReplicaGroupDescriptor> replicaGroups, Map<String, TemplateDescriptor> serverTemplates, Map<String, TemplateDescriptor> serviceTemplates, Map<String, NodeDescriptor> nodes, DistributionDescriptor distrib, String description, Map<String, PropertySetDescriptor> propertySets) Constructs aApplicationDescriptorwith values for all its fields.- Parameters:
name- The application name.variables- The variables defined in the application descriptor.replicaGroups- The replica groups.serverTemplates- The server templates.serviceTemplates- The service templates.nodes- The node descriptors.distrib- The application distribution.description- The description of this application.propertySets- Property set descriptors.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr- the input stream
-
ice_write
Marshals anApplicationDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theApplicationDescriptorto marshal
-
ice_read
Unmarshals anApplicationDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ApplicationDescriptor
-
ice_write
Marshals an optionalApplicationDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalApplicationDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalApplicationDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-