Package com.uc4.api.objects
Class BackendCommand
java.lang.Object
com.uc4.api.objects.BackendCommand
This class represents a Command (row) on the Variable of the type BACKEND.
-
Constructor Summary
ConstructorsConstructorDescriptionBackendCommand(String os, String version, String command, String columns) Creates a newBackendCommandobject. -
Method Summary
Modifier and TypeMethodDescriptionReturns the columns.Returns the command.getOS()Returns the operating system of the command.Returns the version.voidsetColumns(String columns) Sets the columns.voidsetCommand(String command) Sets the command.voidSets the operating system.voidsetVersion(String version) Sets the version.
-
Constructor Details
-
BackendCommand
Creates a newBackendCommandobject.- Parameters:
os- Operation Systemversion- Versioncommand- Commandcolumns- Columns
-
-
Method Details
-
getOS
Returns the operating system of the command.- Returns:
- operating system.
-
setOS
Sets the operating system. The maximum length is 200 characters.- Parameters:
os- String which contains the operating system.
-
getVersion
Returns the version.- Returns:
- version.
-
setVersion
Sets the version. The maximum length is 32 characters.- Parameters:
version- String which contains the version.
-
getCommand
Returns the command.- Returns:
- command.
-
setCommand
Sets the command. The maximum length is 1024 characters.- Parameters:
command- String which contains the command.
-
getColumns
Returns the columns.- Returns:
- columns.
-
setColumns
Sets the columns. The maximum length is 1024 characters.- Parameters:
columns- String which contains the columns.
-