Package org.guvnor.ala.openshift.service
Class OpenShiftRuntimeManager
- java.lang.Object
-
- org.guvnor.ala.openshift.service.OpenShiftRuntimeManager
-
- All Implemented Interfaces:
org.guvnor.ala.runtime.RuntimeManager
public class OpenShiftRuntimeManager extends Object implements org.guvnor.ala.runtime.RuntimeManager
Responsible for the "start", "stop", "restart", and "pause" lifecycle aspects of the openshift runtime.
-
-
Constructor Summary
Constructors Constructor Description OpenShiftRuntimeManager(org.guvnor.ala.registry.RuntimeRegistry runtimeRegistry, OpenShiftAccessInterface openshift)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpause(org.guvnor.ala.runtime.RuntimeId runtimeId)voidrefresh(org.guvnor.ala.runtime.RuntimeId runtimeId)voidrestart(org.guvnor.ala.runtime.RuntimeId runtimeId)voidstart(org.guvnor.ala.runtime.RuntimeId runtimeId)voidstop(org.guvnor.ala.runtime.RuntimeId runtimeId)booleansupports(org.guvnor.ala.runtime.RuntimeId runtimeId)
-
-
-
Constructor Detail
-
OpenShiftRuntimeManager
@Inject public OpenShiftRuntimeManager(org.guvnor.ala.registry.RuntimeRegistry runtimeRegistry, OpenShiftAccessInterface openshift)
-
-
Method Detail
-
supports
public boolean supports(org.guvnor.ala.runtime.RuntimeId runtimeId)
- Specified by:
supportsin interfaceorg.guvnor.ala.runtime.RuntimeManager
-
start
public void start(org.guvnor.ala.runtime.RuntimeId runtimeId) throws org.guvnor.ala.exceptions.RuntimeOperationException- Specified by:
startin interfaceorg.guvnor.ala.runtime.RuntimeManager- Throws:
org.guvnor.ala.exceptions.RuntimeOperationException
-
stop
public void stop(org.guvnor.ala.runtime.RuntimeId runtimeId) throws org.guvnor.ala.exceptions.RuntimeOperationException- Specified by:
stopin interfaceorg.guvnor.ala.runtime.RuntimeManager- Throws:
org.guvnor.ala.exceptions.RuntimeOperationException
-
restart
public void restart(org.guvnor.ala.runtime.RuntimeId runtimeId) throws org.guvnor.ala.exceptions.RuntimeOperationException- Specified by:
restartin interfaceorg.guvnor.ala.runtime.RuntimeManager- Throws:
org.guvnor.ala.exceptions.RuntimeOperationException
-
refresh
public void refresh(org.guvnor.ala.runtime.RuntimeId runtimeId) throws org.guvnor.ala.exceptions.RuntimeOperationException- Specified by:
refreshin interfaceorg.guvnor.ala.runtime.RuntimeManager- Throws:
org.guvnor.ala.exceptions.RuntimeOperationException
-
pause
public void pause(org.guvnor.ala.runtime.RuntimeId runtimeId) throws org.guvnor.ala.exceptions.RuntimeOperationException- Specified by:
pausein interfaceorg.guvnor.ala.runtime.RuntimeManager- Throws:
org.guvnor.ala.exceptions.RuntimeOperationException
-
-