public final class MappingRuleResult
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static MappingRuleResult |
createDefaultPlacementResult() |
Generator method for default placement results.
|
static MappingRuleResult |
createPlacementResult(java.lang.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.
|
java.lang.String |
getNormalizedQueue() |
This method returns the normalized name of the result queue.
|
java.lang.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.
|
java.lang.String |
toString() |
Returns the string representation of the object.
|
void |
updateNormalizedQueue(java.lang.String normalizedQueueName) |
External interface for setting the normalized version of the queue.
|
public java.lang.String getQueue()
public boolean isCreateAllowed()
public void updateNormalizedQueue(java.lang.String normalizedQueueName)
normalizedQueueName - The normalized name of the queuepublic java.lang.String getNormalizedQueue()
public MappingRuleResultType getResult()
public static MappingRuleResult createPlacementResult(java.lang.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()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.