77 lines
1.6 KiB
Java
77 lines
1.6 KiB
Java
package com.inteligr8.activiti.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public class Engine {
|
|
|
|
@JsonProperty("name")
|
|
private String name;
|
|
@JsonProperty("version")
|
|
private String version;
|
|
@JsonProperty("resourceUrl")
|
|
private String resourceUrl;
|
|
@JsonProperty("exception")
|
|
private String exception;
|
|
|
|
/**
|
|
* No args constructor for use in serialization
|
|
*/
|
|
public Engine() {
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public Engine withName(String name) {
|
|
this.name = name;
|
|
return this;
|
|
}
|
|
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(String version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public Engine withVersion(String version) {
|
|
this.version = version;
|
|
return this;
|
|
}
|
|
|
|
public String getResourceUrl() {
|
|
return resourceUrl;
|
|
}
|
|
|
|
public void setResourceUrl(String resourceUrl) {
|
|
this.resourceUrl = resourceUrl;
|
|
}
|
|
|
|
public Engine withResourceUrl(String resourceUrl) {
|
|
this.resourceUrl = resourceUrl;
|
|
return this;
|
|
}
|
|
|
|
public String getException() {
|
|
return exception;
|
|
}
|
|
|
|
public void setException(String exception) {
|
|
this.exception = exception;
|
|
}
|
|
|
|
public Engine withException(String exception) {
|
|
this.exception = exception;
|
|
return this;
|
|
}
|
|
|
|
}
|