public interface HostEffect
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAffectedHosts()
|
PathAddress |
getResourceAddress()
Gets the address of the resource whose hosts relationships are described
by this object.
|
boolean |
isHostEffectGlobal()
Gets whether the resource logically affects all hosts, including hosts that may not presently exist.
|
boolean |
isServerEffect()
Gets whether the resource is related to a specific server (either a server resource or a server-config).
|
PathAddress getResourceAddress()
null
boolean isHostEffectGlobal()
Domain level resources (i.e. those that persist configuration to domain.xml) logically affect all hosts even if the servers running on some or all of the current set of hosts are not affected by the resource.
true
if the resource logically affects all hosts; false
if the resource is
logically limited to a set of hosts.boolean isServerEffect()
true
if the resource relates to a specific server.Set<String> getAffectedHosts()
null
if isHostEffectGlobal()
returns
true
. Will not return null
if isHostEffectGlobal()
returns
false
, although it may return an empty set.Copyright © 2023 JBoss by Red Hat. All rights reserved.