コード例 #1
0
 public ApplicationSubmissionContextInfo()
 {
     applicationId            = string.Empty;
     applicationName          = string.Empty;
     containerInfo            = new ContainerLaunchContextInfo();
     resource                 = new ResourceInfo();
     priority                 = Priority.Undefined.GetPriority();
     isUnmanagedAM            = false;
     cancelTokensWhenComplete = true;
     keepContainers           = false;
     applicationType          = string.Empty;
     tags = new HashSet <string>();
     appNodeLabelExpression         = string.Empty;
     amContainerNodeLabelExpression = string.Empty;
 }
コード例 #2
0
 public virtual void SetContainerLaunchContextInfo(ContainerLaunchContextInfo containerLaunchContext
                                                   )
 {
     this.containerInfo = containerLaunchContext;
 }