ModelType
- The type for the model associated with the state (or Void if no model is associated with the state).public class AuthnState<ModelType> extends Object
Constructor and Description |
---|
AuthnState(String id,
String url)
Create an instance with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(AuthnAction action)
Add an action to the available actions.
|
void |
clearActions()
Clear the list of available actions.
|
List<AuthnAction> |
getActions()
Get the actions available for the current state.
|
String |
getId()
Get the ID of the flow the state belongs to.
|
Map<String,HalLink> |
getLinks()
Get the HAL links associated with the state.
|
ModelType |
getModel()
Get the model associated with the state, if one exists.
|
String |
getPluginTypeId()
Get the type ID for the API-capable plugin that is currently active.
|
String |
getStatus()
Get the status for the state.
|
String |
getUrl()
Get the absolute URL of the flow the state is associated with.
|
void |
removeAction(String id)
Remove an action from the available actions.
|
void |
setId(String id)
Set the ID of the flow the state belongs to.
|
void |
setModel(ModelType model)
Set the model associated with the state.
|
void |
setPluginTypeId(String pluginTypeId)
Set the type ID for the API-capable plugin that is currently active.
|
void |
setStatus(String status)
Set the status for the state.
|
public String getId()
public void setId(String id)
public String getStatus()
public void setStatus(String status)
public String getPluginTypeId()
public void setPluginTypeId(String pluginTypeId)
public ModelType getModel()
public void setModel(ModelType model)
public List<AuthnAction> getActions()
public void addAction(AuthnAction action)
public void removeAction(String id)
id
- The ID of the action to remove.public void clearActions()
public Map<String,HalLink> getLinks()
public String getUrl()
Copyright 2019 Ping Identity Corp. All rights reserved.