![JAR search and dependency download from the Maven repository](/logo.png)
com.evrythng.thng.resource.model.store.jobs.NewStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thng-resource-model Show documentation
Show all versions of thng-resource-model Show documentation
Models for REST resources representations.
/*
* (c) Copyright Reserved EVRYTHNG Limited 2016. All rights reserved.
* Use of this material is subject to license.
* Copying and unauthorised use of this material strictly prohibited.
*/
package com.evrythng.thng.resource.model.store.jobs;
public final class NewStatus {
private Status status;
private Long timestamp;
public NewStatus(final Status status, final Long timestamp) {
this.timestamp = timestamp;
this.status = status;
}
public NewStatus() {
}
public final Long getTimestamp() {
return timestamp;
}
public final Status getStatus() {
return status;
}
public final boolean isTerminal() {
return status != null && status.isTerminal();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy