Package org.arquillian.cube.spi
Interface Cube<T>
- All Known Implementing Classes:
BaseCube
public interface Cube<T>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<X extends CubeMetadata>
voidaddMetadata(Class<X> type, X impl) bindings()Deprecated.voidDeprecated.SeeHasPortBindingsvoidcreate()voiddestroy()getId()<X extends CubeMetadata>
XgetMetadata(Class<X> type) <X extends CubeMetadata>
booleanhasMetadata(Class<X> type) booleanCheck the state of the Cube controller container on the remote server.voidstart()state()voidstop()
-
Method Details
-
state
Cube.State state() -
getId
String getId() -
create
- Throws:
CubeControlException
-
start
- Throws:
CubeControlException
-
stop
- Throws:
CubeControlException
-
destroy
- Throws:
CubeControlException
-
isRunningOnRemote
boolean isRunningOnRemote()Check the state of the Cube controller container on the remote server. This should check the remote state of the Cube regardless of the current Cube.State. -
changeToPreRunning
void changeToPreRunning() -
bindings
Binding bindings()Deprecated.SeeHasPortBindings- Returns:
- actual binding of running container
-
configuredBindings
Binding configuredBindings()Deprecated.SeeHasPortBindings- Returns:
- binding as configured by meta-data, e.g. EXPOSE or pod.json
-
configuration
T configuration() -
hasMetadata
-
addMetadata
-
getMetadata
-
HasPortBindings