@Test void canSetRequestApiClientHostname() { final String clientHost = UUID.randomUUID().toString(); this.jobEntity.setRequestApiClientHostname(clientHost); Assertions.assertThat(this.jobEntity.getRequestApiClientHostname()).isPresent().contains(clientHost); }
@Override public Optional<String> getRequestApiClientHostname() { return Optional.ofNullable(this.requestApiClientHostname); }
JobEntity extends BaseEntity implements
    FinishedJobProjection,
    JobProjection,
    JobRequestProjection,
    JobMetadataProjection,
    JobExecutionProjection,
    JobApplicationsProjection,
    JobClusterProjection,
    JobCommandProjection,
    JobSearchProjection,
    V4JobRequestProjection,
    JobSpecificationProjection,
    JobArchiveLocationProjection,
    JobApiProjection,
    StatusProjection { @Override public Optional<String> getRequestApiClientHostname() { return Optional.ofNullable(this.requestApiClientHostname); } }
JobEntity extends BaseEntity implements
    FinishedJobProjection,
    JobProjection,
    JobRequestProjection,
    JobMetadataProjection,
    JobExecutionProjection,
    JobApplicationsProjection,
    JobClusterProjection,
    JobCommandProjection,
    JobSearchProjection,
    V4JobRequestProjection,
    JobSpecificationProjection,
    JobArchiveLocationProjection,
    JobApiProjection,
    StatusProjection { @Override public Optional<String> getRequestApiClientHostname() { return Optional.ofNullable(this.requestApiClientHostname); } JobEntity(); }
JobEntity extends BaseEntity implements
    FinishedJobProjection,
    JobProjection,
    JobRequestProjection,
    JobMetadataProjection,
    JobExecutionProjection,
    JobApplicationsProjection,
    JobClusterProjection,
    JobCommandProjection,
    JobSearchProjection,
    V4JobRequestProjection,
    JobSpecificationProjection,
    JobArchiveLocationProjection,
    JobApiProjection,
    StatusProjection { @Override public Optional<String> getRequestApiClientHostname() { return Optional.ofNullable(this.requestApiClientHostname); } JobEntity(); @Override Optional<String> getGenieUserGroup(); @Override Optional<String> getEmail(); @Override Optional<Integer> getRequestedCpu(); @Override Optional<Integer> getRequestedTimeout(); void setCommandCriterion(@Nullable final CriterionEntity commandCriterion); @Override Optional<String> getGrouping(); @Override Optional<String> getGroupingInstance(); @Override Optional<String> getStatusMsg(); @Override Optional<Instant> getStarted(); void setStarted(@Nullable final Instant started); @Override Optional<Instant> getFinished(); void setFinished(@Nullable final Instant finished); @Override Optional<Integer> getRequestedMemory(); @Override Optional<String> getRequestApiClientHostname(); @Override Optional<String> getRequestApiClientUserAgent(); @Override Optional<Integer> getNumAttachments(); Optional<String> getRequestAgentClientHostname(); Optional<String> getRequestAgentClientVersion(); @Override Optional<Integer> getExitCode(); @Override Optional<String> getArchiveLocation(); @Override Optional<Integer> getMemoryUsed(); @Override Optional<ClusterEntity> getCluster(); void setCluster(@Nullable final ClusterEntity cluster); @Override Optional<CommandEntity> getCommand(); void setCommand(@Nullable final CommandEntity command); @Override Optional<Long> getTotalSizeOfAttachments(); @Override Optional<Long> getStdOutSize(); void setStdOutSize(@Nullable final Long stdOutSize); @Override Optional<Long> getStdErrSize(); void setStdErrSize(@Nullable final Long stdErrSize); Optional<Integer> getRequestAgentClientPid(); @Override Optional<String> getClusterName(); @Override Optional<String> getCommandName(); @Override Optional<String> getAgentHostname(); Optional<String> getAgentVersion(); Optional<Integer> getAgentPid(); @Override Optional<Integer> getProcessId(); @Override Optional<Long> getCheckDelay(); @Override Optional<Integer> getTimeoutUsed(); void setTimeoutUsed(@Nullable final Integer timeoutUsed); void setCommandArgs(@Nullable final List<String> commandArgs); void setConfigs(@Nullable final Set<FileEntity> configs); void setDependencies(@Nullable final Set<FileEntity> dependencies); void setTags(@Nullable final Set<TagEntity> tags); void setRequestedEnvironmentVariables(@Nullable final Map<String, String> requestedEnvironmentVariables); void setEnvironmentVariables(@Nullable final Map<String, String> environmentVariables); @Override Optional<String> getRequestedJobDirectoryLocation(); @Override Optional<JsonNode> getRequestedAgentEnvironmentExt(); @Override Optional<JsonNode> getRequestedAgentConfigExt(); @Override Optional<String> getJobDirectoryLocation(); void setApplications(@Nullable final List<ApplicationEntity> applications); void setClusterCriteria(@Nullable final List<CriterionEntity> clusterCriteria); Optional<String> getNotifiedJobStatus(); Optional<String> getArchiveStatus(); void setArchiveStatus(@Nullable final String archiveStatus); Optional<JsonNode> getRequestedLauncherExt(); void setRequestedLauncherExt(@Nullable final JsonNode requestedLauncherExt); Optional<JsonNode> getLauncherExt(); void setLauncherExt(@Nullable final JsonNode launcherExt); @Override boolean equals(final Object o); @Override int hashCode(); }
JobEntity extends BaseEntity implements
    FinishedJobProjection,
    JobProjection,
    JobRequestProjection,
    JobMetadataProjection,
    JobExecutionProjection,
    JobApplicationsProjection,
    JobClusterProjection,
    JobCommandProjection,
    JobSearchProjection,
    V4JobRequestProjection,
    JobSpecificationProjection,
    JobArchiveLocationProjection,
    JobApiProjection,
    StatusProjection { @Override public Optional<String> getRequestApiClientHostname() { return Optional.ofNullable(this.requestApiClientHostname); } JobEntity(); @Override Optional<String> getGenieUserGroup(); @Override Optional<String> getEmail(); @Override Optional<Integer> getRequestedCpu(); @Override Optional<Integer> getRequestedTimeout(); void setCommandCriterion(@Nullable final CriterionEntity commandCriterion); @Override Optional<String> getGrouping(); @Override Optional<String> getGroupingInstance(); @Override Optional<String> getStatusMsg(); @Override Optional<Instant> getStarted(); void setStarted(@Nullable final Instant started); @Override Optional<Instant> getFinished(); void setFinished(@Nullable final Instant finished); @Override Optional<Integer> getRequestedMemory(); @Override Optional<String> getRequestApiClientHostname(); @Override Optional<String> getRequestApiClientUserAgent(); @Override Optional<Integer> getNumAttachments(); Optional<String> getRequestAgentClientHostname(); Optional<String> getRequestAgentClientVersion(); @Override Optional<Integer> getExitCode(); @Override Optional<String> getArchiveLocation(); @Override Optional<Integer> getMemoryUsed(); @Override Optional<ClusterEntity> getCluster(); void setCluster(@Nullable final ClusterEntity cluster); @Override Optional<CommandEntity> getCommand(); void setCommand(@Nullable final CommandEntity command); @Override Optional<Long> getTotalSizeOfAttachments(); @Override Optional<Long> getStdOutSize(); void setStdOutSize(@Nullable final Long stdOutSize); @Override Optional<Long> getStdErrSize(); void setStdErrSize(@Nullable final Long stdErrSize); Optional<Integer> getRequestAgentClientPid(); @Override Optional<String> getClusterName(); @Override Optional<String> getCommandName(); @Override Optional<String> getAgentHostname(); Optional<String> getAgentVersion(); Optional<Integer> getAgentPid(); @Override Optional<Integer> getProcessId(); @Override Optional<Long> getCheckDelay(); @Override Optional<Integer> getTimeoutUsed(); void setTimeoutUsed(@Nullable final Integer timeoutUsed); void setCommandArgs(@Nullable final List<String> commandArgs); void setConfigs(@Nullable final Set<FileEntity> configs); void setDependencies(@Nullable final Set<FileEntity> dependencies); void setTags(@Nullable final Set<TagEntity> tags); void setRequestedEnvironmentVariables(@Nullable final Map<String, String> requestedEnvironmentVariables); void setEnvironmentVariables(@Nullable final Map<String, String> environmentVariables); @Override Optional<String> getRequestedJobDirectoryLocation(); @Override Optional<JsonNode> getRequestedAgentEnvironmentExt(); @Override Optional<JsonNode> getRequestedAgentConfigExt(); @Override Optional<String> getJobDirectoryLocation(); void setApplications(@Nullable final List<ApplicationEntity> applications); void setClusterCriteria(@Nullable final List<CriterionEntity> clusterCriteria); Optional<String> getNotifiedJobStatus(); Optional<String> getArchiveStatus(); void setArchiveStatus(@Nullable final String archiveStatus); Optional<JsonNode> getRequestedLauncherExt(); void setRequestedLauncherExt(@Nullable final JsonNode requestedLauncherExt); Optional<JsonNode> getLauncherExt(); void setLauncherExt(@Nullable final JsonNode launcherExt); @Override boolean equals(final Object o); @Override int hashCode(); static final String V3_JOB_DTO_ENTITY_GRAPH; static final String V3_JOB_REQUEST_DTO_ENTITY_GRAPH; static final String V4_JOB_REQUEST_DTO_ENTITY_GRAPH; static final String V4_JOB_SPECIFICATION_DTO_ENTITY_GRAPH; static final String JOB_APPLICATIONS_DTO_ENTITY_GRAPH; static final String JOB_CLUSTER_DTO_ENTITY_GRAPH; static final String JOB_COMMAND_DTO_ENTITY_GRAPH; }