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 |
configuredRequiresAddressable()
Set to override the default as to whether the visibility of resources
annotated with this sensitivity constraint should be considered
sensitive.
|
T |
configuredRequiresAddressable(Boolean value)
Set to override the default as to whether the visibility of resources
annotated with this sensitivity constraint should be considered
sensitive.
|
Boolean |
configuredRequiresRead()
Set to override the default as to whether reading attributes annotated
with this sensitivity constraint should be considered sensitive.
|
T |
configuredRequiresRead(Boolean value)
Set to override the default as to whether reading attributes annotated
with this sensitivity constraint should be considered sensitive.
|
Boolean |
configuredRequiresWrite()
Set to override the default as to whether writing attributes annotated
with this sensitivity constraint should be considered sensitive.
|
T |
configuredRequiresWrite(Boolean value)
Set to override the default as to whether writing attributes annotated
with this sensitivity constraint should be considered sensitive.
|
Boolean |
defaultRequiresAddressable()
Whether the visibility of resources annotated with this sensitivity
constraint should be considered sensitive.
|
T |
defaultRequiresAddressable(Boolean value)
Whether the visibility of resources annotated with this sensitivity
constraint should be considered sensitive.
|
Boolean |
defaultRequiresRead()
Whether reading attributes annotated with this sensitivity constraint
should be considered sensitive.
|
T |
defaultRequiresRead(Boolean value)
Whether reading attributes annotated with this sensitivity constraint
should be considered sensitive.
|
Boolean |
defaultRequiresWrite()
Whether writing attributes annotated with this sensitivity constraint
should be considered sensitive.
|
T |
defaultRequiresWrite(Boolean value)
Whether writing attributes annotated with this sensitivity constraint
should be considered sensitive.
|
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 configuredRequiresAddressable()
public T configuredRequiresAddressable(Boolean value)
public Boolean configuredRequiresRead()
public T configuredRequiresRead(Boolean value)
public Boolean configuredRequiresWrite()
public T configuredRequiresWrite(Boolean value)
public Boolean defaultRequiresAddressable()
public T defaultRequiresAddressable(Boolean value)
public Boolean defaultRequiresRead()
public T defaultRequiresRead(Boolean value)
public Boolean defaultRequiresWrite()
Copyright © 2019 JBoss by Red Hat. All rights reserved.