Class OpenShiftRuntimeExecExecutor<T extends OpenShiftRuntimeConfig>

  • Type Parameters:
    T - OpenShiftRuntimeConfig
    All Implemented Interfaces:
    Function<T,​Optional<OpenShiftRuntime>>, org.guvnor.ala.pipeline.ConfigExecutor, org.guvnor.ala.pipeline.FunctionConfigExecutor<T,​OpenShiftRuntime>, org.guvnor.ala.runtime.RuntimeBuilder<T,​OpenShiftRuntime>, org.guvnor.ala.runtime.RuntimeDestroyer

    public class OpenShiftRuntimeExecExecutor<T extends OpenShiftRuntimeConfig>
    extends Object
    implements org.guvnor.ala.runtime.RuntimeBuilder<T,​OpenShiftRuntime>, org.guvnor.ala.runtime.RuntimeDestroyer, org.guvnor.ala.pipeline.FunctionConfigExecutor<T,​OpenShiftRuntime>
    Responsible for the "create" and "destroy" lifecycle aspects of the openshift runtime.
    • Constructor Detail

      • OpenShiftRuntimeExecExecutor

        @Inject
        public OpenShiftRuntimeExecExecutor​(org.guvnor.ala.registry.RuntimeRegistry runtimeRegistry,
                                            OpenShiftAccessInterface openshift)
    • 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 OpenShiftRuntimeConfig,​OpenShiftRuntime>
      • 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