public class SagaScopeDescriptor extends Object implements ScopeDescriptor
Constructor and Description |
---|
SagaScopeDescriptor(String type,
Object identifier)
Instantiate a SagaScopeDescriptor with the provided
type and identifier . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getIdentifier()
The identifier of the Saga targeted with this scope
|
String |
getType()
The type of Saga described by this scope
|
int |
hashCode() |
String |
scopeDescription()
|
String |
toString() |
@ConstructorProperties(value={"type","identifier"}) public SagaScopeDescriptor(String type, Object identifier)
type
and identifier
.public String getType()
public Object getIdentifier()
public String scopeDescription()
ScopeDescriptor
scopeDescription
in interface ScopeDescriptor
String
description of a Scope
objectCopyright © 2010–2024. All rights reserved.