Package us.kbase.workspace
Class SubAction
- java.lang.Object
-
- us.kbase.workspace.SubAction
-
@Generated("com.googlecode.jsonschema2pojo") public class SubAction extends Object
Original spec-file type: SubAction
Information about a subaction that is invoked by a provenance action. A provenance action (PA) may invoke subactions (SA), e.g. calling a separate piece of code, a service, or a script. In most cases these calls are the same from PA to PA and so do not need to be listed in the provenance since providing information about the PA alone provides reproducibility. In some cases, however, SAs may change over time, such that invoking the same PA with the same parameters may produce different results. For example, if a PA calls a remote server, that server may be updated between a PA invoked on day T and another PA invoked on day T+1. The SubAction structure allows for specifying information about SAs that may dynamically change from PA invocation to PA invocation. All fields are optional but at least one field must be present. string name - the name of the SA. string ver - the version of SA. string code_url - a url pointing to the SA's codebase. string commit - a version control commit ID for the SA. string endpoint_url - a url pointing to the access point for the SA - a server url, for instance.
-
-
Constructor Summary
Constructors Constructor Description SubAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
String
getCodeUrl()
String
getCommit()
String
getEndpointUrl()
String
getName()
String
getVer()
void
setAdditionalProperties(String name, Object value)
void
setCodeUrl(String codeUrl)
void
setCommit(String commit)
void
setEndpointUrl(String endpointUrl)
void
setName(String name)
void
setVer(String ver)
String
toString()
SubAction
withCodeUrl(String codeUrl)
SubAction
withCommit(String commit)
SubAction
withEndpointUrl(String endpointUrl)
SubAction
withName(String name)
SubAction
withVer(String ver)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getVer
public String getVer()
-
setVer
public void setVer(String ver)
-
getCodeUrl
public String getCodeUrl()
-
setCodeUrl
public void setCodeUrl(String codeUrl)
-
getCommit
public String getCommit()
-
setCommit
public void setCommit(String commit)
-
getEndpointUrl
public String getEndpointUrl()
-
setEndpointUrl
public void setEndpointUrl(String endpointUrl)
-
-