public final class AvailableRealmsCallback extends Object implements ExtendedCallback
Constructor and Description |
---|
AvailableRealmsCallback()
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getRealmNames()
Get the array of realm names that was set.
|
boolean |
isOptional()
Determine if this callback is optional.
|
boolean |
needsInformation()
Determine if this callback is requesting information.
|
void |
setRealmNames(String... realmNames)
Set the realm names.
|
public AvailableRealmsCallback()
public String[] getRealmNames()
public void setRealmNames(String... realmNames)
null
. The array is not copied, so care must
be taken to avoid modifying the realm array after it is set.realmNames
- the realm names (may not be null
, may not contain null
)public boolean isOptional()
ExtendedCallback
isOptional
in interface ExtendedCallback
true
if the callback is optional, false
if it is mandatorypublic boolean needsInformation()
ExtendedCallback
needsInformation
in interface ExtendedCallback
true
if the callback is requesting information, false
if it is only providing informationCopyright © 2021 JBoss by Red Hat. All rights reserved.