public final class MappingRuleResult extends Object
Modifier and Type | Method and Description |
---|---|
static MappingRuleResult |
createDefaultPlacementResult()
Generator method for default placement results.
|
static MappingRuleResult |
createPlacementResult(String queue,
boolean allowCreate)
Generator method for place results.
|
static MappingRuleResult |
createRejectResult()
Generator method for reject results.
|
static MappingRuleResult |
createSkipResult()
Generator method for skip results.
|
String |
getNormalizedQueue()
This method returns the normalized name of the result queue.
|
String |
getQueue()
This method returns the result queue.
|
MappingRuleResultType |
getResult()
Returns the type of the result.
|
boolean |
isCreateAllowed()
The method returns true if the result queue should be created when it does
not exist yet.
|
String |
toString()
Returns the string representation of the object.
|
void |
updateNormalizedQueue(String normalizedQueueName)
External interface for setting the normalized version of the queue.
|
public String getQueue()
public boolean isCreateAllowed()
public void updateNormalizedQueue(String normalizedQueueName)
normalizedQueueName
- The normalized name of the queuepublic String getNormalizedQueue()
public MappingRuleResultType getResult()
public static MappingRuleResult createPlacementResult(String queue, boolean allowCreate)
queue
- The name of the queue in which we shall place the applicationallowCreate
- Flag to indicate if the placement rule is allowed to
create a queue if possible.public static MappingRuleResult createRejectResult()
public static MappingRuleResult createSkipResult()
public static MappingRuleResult createDefaultPlacementResult()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.