Class ServiceConfiguration

    • Field Detail

      • runtime

        protected java.lang.String runtime
      • javaCommand

        protected java.lang.String javaCommand
      • autoDeleteOnStop

        protected boolean autoDeleteOnStop
      • staticService

        protected boolean staticService
      • groups

        protected java.lang.String[] groups
      • deletedFilesAfterStop

        protected java.lang.String[] deletedFilesAfterStop
      • port

        protected int port
    • Method Detail

      • getServiceId

        @NotNull
        public @NotNull ServiceId getServiceId()
      • setServiceId

        public void setServiceId​(@NotNull
                                 @NotNull ServiceId serviceId)
      • isAutoDeleteOnStop

        public boolean isAutoDeleteOnStop()
      • setAutoDeleteOnStop

        public void setAutoDeleteOnStop​(boolean autoDeleteOnStop)
      • isStaticService

        public boolean isStaticService()
      • setStaticService

        public void setStaticService​(boolean staticService)
      • getJavaCommand

        @Nullable
        public @Nullable java.lang.String getJavaCommand()
      • setJavaCommand

        public void setJavaCommand​(java.lang.String javaCommand)
      • getRuntime

        @NotNull
        public @NotNull java.lang.String getRuntime()
      • setRuntime

        public void setRuntime​(@NotNull
                               @NotNull java.lang.String runtime)
      • getGroups

        @NotNull
        public @NotNull java.lang.String[] getGroups()
      • setGroups

        public void setGroups​(@NotNull
                              @NotNull java.lang.String[] groups)
      • hasGroup

        public boolean hasGroup​(@NotNull
                                @NotNull java.lang.String group)
      • setTemplates

        public void setTemplates​(@NotNull
                                 @NotNull ServiceTemplate[] templates)
      • setDeployments

        public void setDeployments​(@NotNull
                                   @NotNull ServiceDeployment[] deployments)
      • getDeletedFilesAfterStop

        @NotNull
        public @NotNull java.lang.String[] getDeletedFilesAfterStop()
      • setDeletedFilesAfterStop

        public void setDeletedFilesAfterStop​(@NotNull
                                             @NotNull java.lang.String[] deletedFilesAfterStop)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • setInitDeployments

        public void setInitDeployments​(ServiceDeployment[] initDeployments)
      • setInitTemplates

        public void setInitTemplates​(ServiceTemplate[] initTemplates)
      • createNewServiceAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> createNewServiceAsync()
      • setProcessConfig

        public void setProcessConfig​(@NotNull
                                     @NotNull ProcessConfiguration processConfig)