public class Classification<T extends Classification<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Classification.ClassificationResources
Child mutators for Classification
|
Constructor and Description |
---|
Classification(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
appliesTo(AppliesTo value)
Add the AppliesTo object to the list of subresources
|
T |
appliesTo(AppliesToSupplier supplier)
Install a supplied AppliesTo object to the list of subresources
|
T |
appliesTo(String childKey)
Create and configure a AppliesTo object to the list of subresources
|
T |
appliesTo(String childKey,
AppliesToConsumer consumer)
Create and configure a AppliesTo object to the list of subresources
|
T |
appliesTos(List<AppliesTo> value)
Add all AppliesTo objects to this subresource
|
Boolean |
configuredApplication()
Set to override the default as to whether the constraint is considered an
application resource.
|
T |
configuredApplication(Boolean value)
Set to override the default as to whether the constraint is considered an
application resource.
|
Boolean |
defaultApplication()
Whether targets having this application type constraint are considered
application resources.
|
T |
defaultApplication(Boolean value)
Whether targets having this application type constraint are considered
application resources.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Classification.ClassificationResources |
subresources() |
public Classification(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Classification.ClassificationResources subresources()
public T appliesTos(List<AppliesTo> value)
value
- List of AppliesTo objects.public T appliesTo(AppliesTo value)
value
- The AppliesTo to addpublic T appliesTo(String childKey, AppliesToConsumer consumer)
key
- The key for the AppliesTo resourceconfig
- The AppliesToConsumer to usepublic T appliesTo(String childKey)
key
- The key for the AppliesTo resourcepublic T appliesTo(AppliesToSupplier supplier)
public Boolean configuredApplication()
public T configuredApplication(Boolean value)
public Boolean defaultApplication()
Copyright © 2019 JBoss by Red Hat. All rights reserved.