public class AppliesTo<T extends AppliesTo<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
address()
Address pattern describing a resource or resources to which the
constraint applies.
|
T |
address(String value)
Address pattern describing a resource or resources to which the
constraint applies.
|
T |
attribute(String value)
List of the names of attributes to which the constraint specifically
applies.
|
List<String> |
attributes()
List of the names of attributes to which the constraint specifically
applies.
|
T |
attributes(List<String> value)
List of the names of attributes to which the constraint specifically
applies.
|
T |
attributes(String... args)
List of the names of attributes to which the constraint specifically
applies.
|
Boolean |
entireResource()
True if the constraint applies to the resource as a whole; false if it
only applies to one or more attributes or operations.
|
T |
entireResource(Boolean value)
True if the constraint applies to the resource as a whole; false if it
only applies to one or more attributes or operations.
|
String |
getKey() |
T |
operation(String value)
List of the names of operations to which the constraint specifically
applies.
|
List<String> |
operations()
List of the names of operations to which the constraint specifically
applies.
|
T |
operations(List<String> value)
List of the names of operations to which the constraint specifically
applies.
|
T |
operations(String... args)
List of the names of operations to which the constraint specifically
applies.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public AppliesTo(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String address()
public T address(String value)
public List<String> attributes()
public T attributes(List<String> value)
public T attribute(String value)
public T attributes(String... args)
public Boolean entireResource()
public T entireResource(Boolean value)
public List<String> operations()
public T operations(List<String> value)
public T operation(String value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.