java.lang.Object
com.zeroc.IceGrid.ApplicationDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an application.
- 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 aApplicationDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ApplicationDescriptor
ice_read
(InputStream istr) Unmarshals anApplicationDescriptor
from an input stream.static Optional<ApplicationDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalApplicationDescriptor
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, ApplicationDescriptor v) Marshals an optionalApplicationDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ApplicationDescriptor> v) Marshals an optionalApplicationDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, ApplicationDescriptor v) Marshals anApplicationDescriptor
into an output stream.void
ice_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 aApplicationDescriptor
with 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 anApplicationDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theApplicationDescriptor
to marshal; can be null
-
ice_read
Unmarshals anApplicationDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ApplicationDescriptor
-
ice_write
Marshals an optionalApplicationDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalApplicationDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalApplicationDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-