Package org.hcjf.io.net.kubernetes
Class KubernetesJobResource
- java.lang.Object
-
- org.hcjf.layers.Layer
-
- org.hcjf.io.net.kubernetes.KubernetesJobResource
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,CreateLayerInterface<java.util.Map<java.lang.String,java.lang.Object>>,LayerInterface
public class KubernetesJobResource extends Layer implements CreateLayerInterface<java.util.Map<java.lang.String,java.lang.Object>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hcjf.layers.Layer
Layer.Access, Layer.LayerAgent, Layer.LayerAgentMBean
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description KubernetesJobResource()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>create(java.util.Map<java.lang.String,java.lang.Object> job)This method implements the creation of the resource.java.lang.StringgetImplName()Return the layer implementation name.-
Methods inherited from class org.hcjf.layers.Layer
checkAccess, getAliases, getLayer, getProxy, getSession, getTarget, invoke, isOverwritable, isPlugin, isStateful
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hcjf.layers.LayerInterface
getRegex, isDistributed, isPlugin, isStateful
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImplName
public java.lang.String getImplName()
Description copied from class:LayerReturn the layer implementation name.- Specified by:
getImplNamein interfaceLayerInterface- Overrides:
getImplNamein classLayer- Returns:
- Layer implementation name.
-
create
public java.util.Map<java.lang.String,java.lang.Object> create(java.util.Map<java.lang.String,java.lang.Object> job)
Description copied from interface:CreateLayerInterfaceThis method implements the creation of the resource.- Specified by:
createin interfaceCreateLayerInterface<java.util.Map<java.lang.String,java.lang.Object>>- Parameters:
job- Object to represents an instance of the resource.- Returns:
- The instance of the resource.
-
-