Class OperationBase
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.operation.OperationBase
-
- All Implemented Interfaces:
Operation
- Direct Known Subclasses:
ActionInstance,AzureTask,MethodOperation,SimpleOperation
public abstract class OperationBase extends Object implements Operation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationBase.Id-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.operation.Operation
Operation.Type
-
-
Field Summary
Fields Modifier and Type Field Description private OperationContextcontextprivate OperationBase.IdidObjectprivate Operationparent-
Fields inherited from interface com.microsoft.azure.toolkit.lib.common.operation.Operation
UNKNOWN_NAME
-
-
Constructor Summary
Constructors Constructor Description OperationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationContextgetContext()StringgetExecutionId()private OperationBase.IdgetIdObject()StringgetOperationName()StringgetServiceName()StringgetType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.operation.Operation
getActionParent, getBody, getDescription, getEffectiveParent, getId, getParent, getSource, setParent
-
-
-
-
Field Detail
-
parent
private Operation parent
-
context
private OperationContext context
-
idObject
private OperationBase.Id idObject
-
-
Method Detail
-
getExecutionId
@Nonnull public String getExecutionId()
- Specified by:
getExecutionIdin interfaceOperation
-
getContext
public OperationContext getContext()
- Specified by:
getContextin interfaceOperation
-
getIdObject
private OperationBase.Id getIdObject()
-
getServiceName
@Nonnull public final String getServiceName()
- Specified by:
getServiceNamein interfaceOperation
-
getOperationName
@Nonnull public final String getOperationName()
- Specified by:
getOperationNamein interfaceOperation
-
-