public JobConfigurationWebMessageResponse( JobConfiguration jobConfiguration ) { this.name = jobConfiguration.getDisplayName(); this.id = jobConfiguration.getUid(); this.created = jobConfiguration.getCreated(); this.jobType = jobConfiguration.getJobType(); this.jobStatus = jobConfiguration.getJobStatus(); this.jobParameters = jobConfiguration.getJobParameters(); this.relativeNotifierEndpoint = "/api/system/tasks/" + this.jobType + "/" + this.id; }