public static class ContainerOperationResult.GenericOperation<X> extends Object implements ContainerOperationResult.Operation<X>
Constructor and Description |
---|
GenericOperation(ContainerOperationResult.Type type,
Container contianer) |
GenericOperation(ContainerOperationResult.Type type,
Container contianer,
Throwable exception) |
GenericOperation(ContainerOperationResult.Type type,
Container contianer,
Throwable exception,
X object) |
GenericOperation(ContainerOperationResult.Type type,
Container contianer,
X object) |
Modifier and Type | Method and Description |
---|---|
Container |
getContainer() |
Throwable |
getFailure() |
X |
getObject() |
ContainerOperationResult.Type |
getType() |
boolean |
hasFailed() |
public GenericOperation(ContainerOperationResult.Type type, Container contianer)
public GenericOperation(ContainerOperationResult.Type type, Container contianer, X object)
public GenericOperation(ContainerOperationResult.Type type, Container contianer, Throwable exception)
public GenericOperation(ContainerOperationResult.Type type, Container contianer, Throwable exception, X object)
public Container getContainer()
getContainer
in interface ContainerOperationResult.Operation<X>
public boolean hasFailed()
hasFailed
in interface ContainerOperationResult.Operation<X>
public Throwable getFailure()
getFailure
in interface ContainerOperationResult.Operation<X>
public X getObject()
getObject
in interface ContainerOperationResult.Operation<X>
public ContainerOperationResult.Type getType()
getType
in interface ContainerOperationResult.Operation<X>
Copyright © 2016 JBoss by Red Hat. All rights reserved.