Class DefaultMinecraftCloudService
- java.lang.Object
-
- de.dytanic.cloudnet.service.defaults.DefaultEmptyCloudService
-
- de.dytanic.cloudnet.service.defaults.DefaultCloudService
-
- de.dytanic.cloudnet.service.defaults.DefaultTemplateCloudService
-
- de.dytanic.cloudnet.service.defaults.DefaultMinecraftCloudService
-
- All Implemented Interfaces:
ICloudService
public abstract class DefaultMinecraftCloudService extends DefaultTemplateCloudService
-
-
Field Summary
-
Fields inherited from class de.dytanic.cloudnet.service.defaults.DefaultCloudService
firstStartupOnStaticService, lifeCycleLock, SERVICE_ERROR_RESTART_DELAY, TEMP_NAME_SPLITTER
-
Fields inherited from class de.dytanic.cloudnet.service.defaults.DefaultEmptyCloudService
cloudServiceManager, handler, lastServiceInfoSnapshot, lifeCycle, serviceConfiguration, serviceInfoSnapshot
-
-
Constructor Summary
Constructors Constructor Description DefaultMinecraftCloudService(java.lang.String runtime, ICloudServiceManager cloudServiceManager, de.dytanic.cloudnet.driver.service.ServiceConfiguration serviceConfiguration, @NotNull CloudServiceHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpostConfigureServiceEnvironmentStartParameters(java.util.List<java.lang.String> commandArguments)protected voidpreStart()-
Methods inherited from class de.dytanic.cloudnet.service.defaults.DefaultTemplateCloudService
addDeployment, createServiceInfoSnapshot, deployResources, getDeployments, getIncludes, getTemplates, getWaitingIncludes, getWaitingTemplates, includeInclusions, includeTemplates, init, offerInclusion, offerTemplate
-
Methods inherited from class de.dytanic.cloudnet.service.defaults.DefaultCloudService
checkEnoughResources, deleteFiles, forceUpdateServiceInfoSnapshotAsync, getDirectory, getDirectoryPath, initAndPrepareService, invokeStart, kill, postDelete, postPrepare, postPrepareStart, postStart, postStop, preDelete, prepareStart, prePrepare, prePrepareStart, preStop, shutdownNow, start, startNow, startProcess, stop, updateServiceInfoSnapshot, writeConfiguration
-
Methods inherited from class de.dytanic.cloudnet.service.defaults.DefaultEmptyCloudService
getCloudServiceManager, getConfiguredMaxHeapMemory, getConnectionKey, getGroups, getJavaCommand, getLastServiceInfoSnapshot, getLifeCycle, getNetworkChannel, getRuntime, getServiceConfiguration, getServiceId, getServiceInfoSnapshot, setNetworkChannel, setServiceInfoSnapshot
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.dytanic.cloudnet.service.ICloudService
delete, delete, deployResources, getProcess, getServiceConsoleLogCache, isAlive, restart, runCommand
-
-
-
-
Constructor Detail
-
DefaultMinecraftCloudService
public DefaultMinecraftCloudService(java.lang.String runtime, ICloudServiceManager cloudServiceManager, de.dytanic.cloudnet.driver.service.ServiceConfiguration serviceConfiguration, @NotNull @NotNull CloudServiceHandler handler)
-
-
Method Detail
-
preStart
protected void preStart()
- Overrides:
preStartin classDefaultCloudService
-
postConfigureServiceEnvironmentStartParameters
protected void postConfigureServiceEnvironmentStartParameters(java.util.List<java.lang.String> commandArguments)
-
-