Class ProcessPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.ProcessPatch.Builder
- Enclosing class:
ProcessPatch
Builds a
ProcessPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the process.bindErrorLogs(ODataPath... targets) BindsErrorLogsto existing entities (ErrorLogs@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.dataProcedure(@Nullable String dataProcedure) SetsDataProcedure: The code that is executed during the Data stage of the process.dataSource(@Nullable ProcessDataSourcePatch dataSource) SetsDataSource: The source of the data for the process.epilogProcedure(@Nullable String epilogProcedure) SetsEpilogProcedure: The code that is executed during the Epilog stage of the process.errorLogs(@Nullable List<ProcessErrorLogPatch> errorLogs) SetsErrorLogs: A collection of error logs for the process.hasSecurityAccess(@Nullable Boolean hasSecurityAccess) SetsHasSecurityAccess: A Boolean that indicates whether the user security access to run this process.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the process.metadataProcedure(@Nullable String metadataProcedure) SetsMetadataProcedure: The code that is executed during the Metadata stage of the process.SetsName: The name of a TurboIntegrator process.parameters(@Nullable List<ProcessParameterPatch> parameters) SetsParameters: Parameters used by the process.prologProcedure(@Nullable String prologProcedure) SetsPrologProcedure: The code that is executed during the Prolog stage of the process.variables(@Nullable List<ProcessVariablePatch> variables) SetsVariables: Variables used by the process.
-
Method Details
-
name
SetsName: The name of a TurboIntegrator process.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
hasSecurityAccess
SetsHasSecurityAccess: A Boolean that indicates whether the user security access to run this process.- Parameters:
hasSecurityAccess- the value;nullsends an explicitnull- Returns:
- this builder
-
prologProcedure
SetsPrologProcedure: The code that is executed during the Prolog stage of the process.- Parameters:
prologProcedure- the value;nullsends an explicitnull- Returns:
- this builder
-
metadataProcedure
SetsMetadataProcedure: The code that is executed during the Metadata stage of the process.- Parameters:
metadataProcedure- the value;nullsends an explicitnull- Returns:
- this builder
-
dataProcedure
SetsDataProcedure: The code that is executed during the Data stage of the process.- Parameters:
dataProcedure- the value;nullsends an explicitnull- Returns:
- this builder
-
epilogProcedure
SetsEpilogProcedure: The code that is executed during the Epilog stage of the process.- Parameters:
epilogProcedure- the value;nullsends an explicitnull- Returns:
- this builder
-
dataSource
SetsDataSource: The source of the data for the process.- Parameters:
dataSource- the value;nullsends an explicitnull- Returns:
- this builder
-
parameters
SetsParameters: Parameters used by the process.- Parameters:
parameters- the value;nullsends an explicitnull- Returns:
- this builder
-
variables
SetsVariables: Variables used by the process.- Parameters:
variables- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the process.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
localizedAttributes
public ProcessPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the process. (nested, for a deep insert)- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
errorLogs
@Since("10.2.2.2") public ProcessPatch.Builder errorLogs(@Nullable List<ProcessErrorLogPatch> errorLogs) SetsErrorLogs: A collection of error logs for the process. (nested, for a deep insert)- Parameters:
errorLogs- the value;nullsends an explicitnull- Returns:
- this builder
-
bindErrorLogs
BindsErrorLogsto existing entities (ErrorLogs@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-