|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.virtualization.spi.TemplateCondition
@Contract public abstract class TemplateCondition
Represents a template condition (that can be used in a search criteria for a template).
| Constructor Summary | |
|---|---|
TemplateCondition()
|
|
| Method Summary | |
|---|---|
static TemplateCondition |
from(TemplateIndex persistence)
Returns a template condition from its persisted state. |
abstract void |
load(TemplateIndex persistence)
loads its state from a persisted state. |
abstract TemplateIndex |
persist(Template parent)
Persists its state to a template persistence state. |
abstract boolean |
satisfies(TemplateCondition otherCondition)
Returns true if this condition satisfies another condition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateCondition()
| Method Detail |
|---|
public static TemplateCondition from(TemplateIndex persistence)
persistence - the persisted state
public abstract void load(TemplateIndex persistence)
persistence - the persisted state.
public abstract TemplateIndex persist(Template parent)
throws org.jvnet.hk2.config.TransactionFailure
parent - the parent template configuration
Template.getIndexes()
org.jvnet.hk2.config.TransactionFailure - if the condition cannot be persisted successfully.public abstract boolean satisfies(TemplateCondition otherCondition)
otherCondition - the other condition to test against.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||