Package org.guvnor.ala.runtime.base
Class BaseRuntime
- java.lang.Object
-
- org.guvnor.ala.runtime.base.BaseRuntime
-
- All Implemented Interfaces:
RegistrableOutput,Runtime,RuntimeId
public abstract class BaseRuntime extends Object implements Runtime, RegistrableOutput
BaseRuntime implementation to be extended by each Runtime Provider
-
-
Constructor Summary
Constructors Constructor Description BaseRuntime()No-args constructor for enabling marshalling to work, please do not remove.BaseRuntime(String id, String name, RuntimeConfig config, ProviderId providerId, RuntimeEndpoint endpoint, RuntimeInfo info, RuntimeState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)RuntimeConfiggetConfig()RuntimeEndpointgetEndpoint()StringgetId()RuntimeInfogetInfo()StringgetName()Gets the human readable name for the runtime.ProviderIdgetProviderId()RuntimeStategetState()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
BaseRuntime
public BaseRuntime()
No-args constructor for enabling marshalling to work, please do not remove.
-
BaseRuntime
public BaseRuntime(String id, String name, RuntimeConfig config, ProviderId providerId, RuntimeEndpoint endpoint, RuntimeInfo info, RuntimeState state)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:RuntimeIdGets the human readable name for the runtime. The runtime name is unique within the provider. When no name was provided at runtime creation @seeRuntimeConfig, the runtime name is getId().
-
getConfig
public RuntimeConfig getConfig()
-
getInfo
public RuntimeInfo getInfo()
-
getState
public RuntimeState getState()
-
getEndpoint
public RuntimeEndpoint getEndpoint()
- Specified by:
getEndpointin interfaceRuntime
-
getProviderId
public ProviderId getProviderId()
- Specified by:
getProviderIdin interfaceRuntimeId
-
-