public class LiteralPolicyExpressionFactory extends Object
LiteralPolicyExpression instances.| Constructor and Description |
|---|
LiteralPolicyExpressionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LiteralPolicyExpression<T> |
getInstance(PolicyValue<T> value)
Creates an instance from a
PolicyValue instance. |
static <T> LiteralPolicyExpression<T> |
getInstance(T value)
Creates an instance from an object.
|
public static <T> LiteralPolicyExpression<T> getInstance(PolicyValue<T> value)
PolicyValue instance.value - The value of the literal.LiteralPolicyExpression object containing the PolicyValue.public static <T> LiteralPolicyExpression<T> getInstance(T value)
PolicyValue object is automatically created.value - The value of the literal.LiteralPolicyExpression object containing the value in a wrapped PolicyValue object.Copyright © 2010–2020 The Direct Project. All rights reserved.