Class ServiceConfigurationBase
- java.lang.Object
-
- de.dytanic.cloudnet.common.document.gson.BasicJsonDocPropertyable
-
- de.dytanic.cloudnet.driver.serialization.json.SerializableJsonDocPropertyable
-
- de.dytanic.cloudnet.driver.service.ServiceConfigurationBase
-
- All Implemented Interfaces:
de.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable,SerializableObject
- Direct Known Subclasses:
GroupConfiguration,ServiceTask
public abstract class ServiceConfigurationBase extends SerializableJsonDocPropertyable implements SerializableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<ServiceDeployment>deploymentsprotected java.util.Collection<ServiceRemoteInclusion>includesprotected java.util.Collection<ServiceTemplate>templates
-
Constructor Summary
Constructors Constructor Description ServiceConfigurationBase()ServiceConfigurationBase(java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ServiceDeployment>getDeployments()java.util.Collection<ServiceRemoteInclusion>getIncludes()abstract java.util.Collection<java.lang.String>getJvmOptions()abstract java.util.Collection<java.lang.String>getProcessParameters()java.util.Collection<ServiceTemplate>getTemplates()voidread(@NotNull ProtocolBuffer buffer)voidsetDeployments(java.util.Collection<ServiceDeployment> deployments)voidsetIncludes(java.util.Collection<ServiceRemoteInclusion> includes)voidsetTemplates(java.util.Collection<ServiceTemplate> templates)voidwrite(@NotNull ProtocolBuffer buffer)
-
-
-
Field Detail
-
includes
protected java.util.Collection<ServiceRemoteInclusion> includes
-
templates
protected java.util.Collection<ServiceTemplate> templates
-
deployments
protected java.util.Collection<ServiceDeployment> deployments
-
-
Constructor Detail
-
ServiceConfigurationBase
public ServiceConfigurationBase(java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments)
-
ServiceConfigurationBase
public ServiceConfigurationBase()
-
-
Method Detail
-
getJvmOptions
public abstract java.util.Collection<java.lang.String> getJvmOptions()
-
getProcessParameters
public abstract java.util.Collection<java.lang.String> getProcessParameters()
-
getIncludes
public java.util.Collection<ServiceRemoteInclusion> getIncludes()
-
setIncludes
public void setIncludes(java.util.Collection<ServiceRemoteInclusion> includes)
-
getTemplates
public java.util.Collection<ServiceTemplate> getTemplates()
-
setTemplates
public void setTemplates(java.util.Collection<ServiceTemplate> templates)
-
getDeployments
public java.util.Collection<ServiceDeployment> getDeployments()
-
setDeployments
public void setDeployments(java.util.Collection<ServiceDeployment> deployments)
-
write
public void write(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
writein interfaceSerializableObject- Overrides:
writein classSerializableJsonDocPropertyable
-
read
public void read(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
readin interfaceSerializableObject- Overrides:
readin classSerializableJsonDocPropertyable
-
-