protected JobOspCommand(string commandValue, string commandDescription, IOptions <OspToolOptions> options,
                         IJobServicesClient jobServicesClient, IAuthenticationService authenticationService)
     : base(commandValue, commandDescription, options)
 {
     ServicesClient         = jobServicesClient;
     _authenticationService = authenticationService;
 }
Example #2
0
 public ImportRuntimeModel(IOptions <OspToolOptions> options, ICoreServicesClient coreServicesClient, IJobServicesClient jobServicesClient, IAuthenticationService authenticationService)
     : base("ImportRt",
            "Schedules an import job for runtime files. File is specified using -f argument. To wait for job, use -w argument.", options, jobServicesClient, authenticationService)
 {
     _coreServicesClient = coreServicesClient;
 }
Example #3
0
 public ExportRuntimeModel(IOptions <OspToolOptions> options, ICoreServicesClient coreServicesClient, IJobServicesClient jobServicesClient, IAuthenticationService authenticationService)
     : base("ExportRt",
            "Schedules an export job for runtime files. File is specified using -f argument. The file is downloaded in ZIP-format after job is finished.", options, jobServicesClient, authenticationService)
 {
     _coreServicesClient = coreServicesClient;
 }
Example #4
0
 protected JobWithWaitOspCommand(string commandValue, string commandDescription, IOptions <OspToolOptions> options,
                                 IJobServicesClient jobServicesClient, IAuthenticationService authenticationService)
     : base(commandValue, commandDescription, options, jobServicesClient, authenticationService)
 {
 }