Modifier and Type | Class and Description |
---|---|
static class |
RELAY2.RELAY2Resources
Child mutators for RELAY2
|
Constructor and Description |
---|
RELAY2() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
Map |
properties()
The properties of this protocol.
|
T |
properties(List<Property> value)
Add all Property objects to this subresource
|
T |
properties(Map value)
The properties of this protocol.
|
T |
property(Property value)
Add the Property object to the list of subresources
|
T |
property(PropertySupplier supplier)
Install a supplied Property object to the list of subresources
|
T |
property(String childKey)
Create and configure a Property object to the list of subresources
|
T |
property(String key,
Object value)
The properties of this protocol.
|
T |
property(String childKey,
PropertyConsumer consumer)
Create and configure a Property object to the list of subresources
|
T |
remoteSite(RemoteSite value)
Add the RemoteSite object to the list of subresources
|
T |
remoteSite(RemoteSiteSupplier supplier)
Install a supplied RemoteSite object to the list of subresources
|
T |
remoteSite(String childKey)
Create and configure a RemoteSite object to the list of subresources
|
T |
remoteSite(String childKey,
RemoteSiteConsumer consumer)
Create and configure a RemoteSite object to the list of subresources
|
T |
remoteSites(List<RemoteSite> value)
Add all RemoteSite objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
site()
The name of the local site.
|
T |
site(String value)
The name of the local site.
|
RELAY2.RELAY2Resources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="properties") public Map properties()
@ModelNodeBinding(detypedName="site") public String site()
public RELAY2.RELAY2Resources subresources()
public T properties(List<Property> value)
value
- List of Property objects.public T property(Property value)
value
- The Property to addpublic T property(String childKey, PropertyConsumer consumer)
key
- The key for the Property resourceconfig
- The PropertyConsumer to usepublic T property(String childKey)
key
- The key for the Property resourcepublic T property(PropertySupplier supplier)
public T remoteSites(List<RemoteSite> value)
value
- List of RemoteSite objects.public T remoteSite(RemoteSite value)
value
- The RemoteSite to addpublic T remoteSite(String childKey, RemoteSiteConsumer consumer)
key
- The key for the RemoteSite resourceconfig
- The RemoteSiteConsumer to usepublic T remoteSite(String childKey)
key
- The key for the RemoteSite resourcepublic T remoteSite(RemoteSiteSupplier supplier)
Copyright © 2016 JBoss by Red Hat. All rights reserved.