de.mklinger.qetcher.client.model.v1.JobState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-client-bundle Show documentation
Show all versions of qetcher-client-bundle Show documentation
Qetcher Java client, OSGi bundle, minimal dependencies
/*
* Copyright 2013-present mklinger GmbH - http://www.mklinger.de
*
* All rights reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of mklinger GmbH and its suppliers, if any.
* The intellectual and technical concepts contained herein are
* proprietary to mklinger GmbH and its suppliers and are protected
* by trade secret or copyright law. Dissemination of this
* information or reproduction of this material is strictly forbidden
* unless prior written permission is obtained from mklinger GmbH.
*/
package de.mklinger.qetcher.client.model.v1;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public enum JobState {
INITIALIZING,
WAITING,
IN_PROGRESS,
SUCCESS,
ERROR,
CANCELED,
PAUSED;
public boolean isDone() {
return this == SUCCESS || this == ERROR || this == CANCELED;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy