Class StartTask


  • public class StartTask
    extends Object
    A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.
    • Constructor Detail

      • StartTask

        public StartTask()
    • Method Detail

      • commandLine

        public String commandLine()
        Get the commandLine value.
        Returns:
        the commandLine value
      • withCommandLine

        public StartTask withCommandLine​(String commandLine)
        Set the commandLine value.
        Parameters:
        commandLine - the commandLine value to set
        Returns:
        the StartTask object itself.
      • resourceFiles

        public List<ResourceFile> resourceFiles()
        Get the resourceFiles value.
        Returns:
        the resourceFiles value
      • withResourceFiles

        public StartTask withResourceFiles​(List<ResourceFile> resourceFiles)
        Set the resourceFiles value.
        Parameters:
        resourceFiles - the resourceFiles value to set
        Returns:
        the StartTask object itself.
      • environmentSettings

        public List<EnvironmentSetting> environmentSettings()
        Get the environmentSettings value.
        Returns:
        the environmentSettings value
      • withEnvironmentSettings

        public StartTask withEnvironmentSettings​(List<EnvironmentSetting> environmentSettings)
        Set the environmentSettings value.
        Parameters:
        environmentSettings - the environmentSettings value to set
        Returns:
        the StartTask object itself.
      • userIdentity

        public UserIdentity userIdentity()
        Get the userIdentity value.
        Returns:
        the userIdentity value
      • withUserIdentity

        public StartTask withUserIdentity​(UserIdentity userIdentity)
        Set the userIdentity value.
        Parameters:
        userIdentity - the userIdentity value to set
        Returns:
        the StartTask object itself.
      • maxTaskRetryCount

        public Integer maxTaskRetryCount()
        Get the maxTaskRetryCount value.
        Returns:
        the maxTaskRetryCount value
      • withMaxTaskRetryCount

        public StartTask withMaxTaskRetryCount​(Integer maxTaskRetryCount)
        Set the maxTaskRetryCount value.
        Parameters:
        maxTaskRetryCount - the maxTaskRetryCount value to set
        Returns:
        the StartTask object itself.
      • waitForSuccess

        public Boolean waitForSuccess()
        Get the waitForSuccess value.
        Returns:
        the waitForSuccess value
      • withWaitForSuccess

        public StartTask withWaitForSuccess​(Boolean waitForSuccess)
        Set the waitForSuccess value.
        Parameters:
        waitForSuccess - the waitForSuccess value to set
        Returns:
        the StartTask object itself.