Class DockerRuntimeExecExecutor<T extends DockerRuntimeConfig>

  • All Implemented Interfaces:
    Function<T,​Optional<DockerRuntime>>, org.guvnor.ala.pipeline.ConfigExecutor, org.guvnor.ala.pipeline.FunctionConfigExecutor<T,​DockerRuntime>, org.guvnor.ala.runtime.RuntimeBuilder<T,​DockerRuntime>, org.guvnor.ala.runtime.RuntimeDestroyer

    public class DockerRuntimeExecExecutor<T extends DockerRuntimeConfig>
    extends Object
    implements org.guvnor.ala.runtime.RuntimeBuilder<T,​DockerRuntime>, org.guvnor.ala.runtime.RuntimeDestroyer, org.guvnor.ala.pipeline.FunctionConfigExecutor<T,​DockerRuntime>
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Constructor Detail

      • DockerRuntimeExecExecutor

        @Inject
        public DockerRuntimeExecExecutor​(org.guvnor.ala.registry.RuntimeRegistry runtimeRegistry,
                                         DockerAccessInterface docker)
    • Method Detail

      • executeFor

        public Class<? extends org.guvnor.ala.config.Config> executeFor()
        Specified by:
        executeFor in interface org.guvnor.ala.pipeline.ConfigExecutor
      • outputId

        public String outputId()
        Specified by:
        outputId in interface org.guvnor.ala.pipeline.ConfigExecutor
      • supports

        public boolean supports​(org.guvnor.ala.config.RuntimeConfig config)
        Specified by:
        supports in interface org.guvnor.ala.runtime.RuntimeBuilder<T extends DockerRuntimeConfig,​DockerRuntime>
      • supports

        public boolean supports​(org.guvnor.ala.runtime.RuntimeId runtimeId)
        Specified by:
        supports in interface org.guvnor.ala.runtime.RuntimeDestroyer
      • destroy

        public void destroy​(org.guvnor.ala.runtime.RuntimeId runtimeId)
        Specified by:
        destroy in interface org.guvnor.ala.runtime.RuntimeDestroyer