public class CLIRequest extends Object
Constructor and Description |
---|
CLIRequest(CLIRequest parent,
String[] argv)
Constructs a CLI request object.
|
CLIRequest(CLIRequest parent,
String[] argv,
SSOToken ssoToken)
Constructs a CLI request object.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getOptions()
Returns options for the request.
|
CLIRequest |
getParent()
Returns parent request object.
|
SSOToken |
getSSOToken()
Returns the single sign on token.
|
void |
process(CommandManager mgr)
Processes the request.
|
void |
process(CommandManager mgr,
SSOToken ssoToken)
Processes the request.
|
void |
setOptions(String[] argv)
Sets options for the request.
|
public CLIRequest(CLIRequest parent, String[] argv, SSOToken ssoToken)
parent
- Parent request object. This can be null if the request is
the root request.argv
- Options for the request.ssoToken
- Single Sign On token of the administrator.public CLIRequest(CLIRequest parent, String[] argv)
parent
- Parent request object. This can be null if the request is
the root request.argv
- Options for the request.public SSOToken getSSOToken()
public String[] getOptions()
public void setOptions(String[] argv)
public CLIRequest getParent()
public void process(CommandManager mgr, SSOToken ssoToken) throws CLIException
mgr
- Command Manager instance.ssoToken
- Single Sign On Token of the user.CLIException
- if the request cannot be serviced.public void process(CommandManager mgr) throws CLIException
mgr
- Command Manager instance.CLIException
- if the request cannot be serviced.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.