All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.swisscom.cloud.sb.broker.services.bosh.dto.TaskDto.groovy Maven / Gradle / Ivy

There is a newer version: 6.21.6
Show newest version
package com.swisscom.cloud.sb.broker.services.bosh.dto

import groovy.transform.CompileStatic

@CompileStatic
class TaskDto implements Serializable {
    int id
    State state
    String description
    int timestamp
    String result
    String user

    @Override
    public String toString() {
        return "TaskDto{" +
                "id=" + id +
                ", state=" + state +
                ", description='" + description + '\'' +
                ", timestamp=" + timestamp +
                ", result='" + result + '\'' +
                ", user='" + user + '\'' +
                '}';
    }

    enum State {
        queued, processing, cancelled, cancelling, done, errored
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy