Package com.identityworksllc.iiq.common
Class IQServiceUtilities.RPCRequestBuilder
- java.lang.Object
-
- com.identityworksllc.iiq.common.IQServiceUtilities.RPCRequestBuilder
-
- Enclosing class:
- IQServiceUtilities
public static class IQServiceUtilities.RPCRequestBuilder extends Object
A fluent builder forRpcRequest
objects
-
-
Method Summary
-
-
-
Method Detail
-
builder
public static IQServiceUtilities.RPCRequestBuilder builder()
Creates a newIQServiceUtilities.RPCRequestBuilder
object- Returns:
- A new RPCRequestBuilder, ready for fluent building
-
build
public sailpoint.object.RpcRequest build() throws sailpoint.tools.GeneralException
Builds a new RpcRequest using the inputs present, if enough are available.If the inputs are not correct, throws an exception.
- Returns:
- the new RpcRequest
- Throws:
sailpoint.tools.GeneralException
- if input parameters are invalid or the creation of the request fails
-
withCommands
public IQServiceUtilities.RPCRequestBuilder withCommands(String commands, String template) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException
-
withCommands
public IQServiceUtilities.RPCRequestBuilder withCommands(String commands) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException
-
withConnectionInfo
public IQServiceUtilities.RPCRequestBuilder withConnectionInfo(Map<String,Object> connectionInfo)
-
withConnectionInfo
public IQServiceUtilities.RPCRequestBuilder withConnectionInfo(sailpoint.object.Application application)
-
withInputs
public IQServiceUtilities.RPCRequestBuilder withInputs(sailpoint.object.ProvisioningPlan.AccountRequest inputs)
-
withInputs
public IQServiceUtilities.RPCRequestBuilder withInputs(Map<String,Object> inputs)
-
withRPCService
public IQServiceUtilities.RPCRequestBuilder withRPCService(String serviceName)
-
withRule
public IQServiceUtilities.RPCRequestBuilder withRule(sailpoint.object.Rule rule)
-
withTemplate
public IQServiceUtilities.RPCRequestBuilder withTemplate(String template)
-
-