new ServiceAction()
Construct a ServiceAction base object.
Returns:
The ServiceAction instance.
- Type
- ServiceAction
Methods
-
build()
-
Use this method must be implemented to build an action that will require a signature and then be sent to the service.
-
send()
-
implementing class must implement
-
sign(param)
-
Use this method with an IdentityContext that contains a User that has a Signing Identity. OR Use this method with a byte[] to set the signature when the application has done the signed externally. Use the results of the build as the bytes that will be signed.
Parameters:
Name Type Description param
IdentityContext | Array.<byte> When 'param' is a IdentityContext the signing identity of the user will sign the current build bytes. When the 'param' is a byte[], the bytes will be used as the final commit signature. -
toString()
-
implementing class must implement