You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
781 B
Java
32 lines
781 B
Java
package org.gcube.application.geoportal.common.model.document;
|
|
|
|
import lombok.*;
|
|
|
|
import java.util.List;
|
|
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
public class LifecycleInformation {
|
|
|
|
public static final String PHASE="phase";
|
|
public static final String LAST_OPERATION_STATUS="lastOperationStatus";
|
|
public static final String ERROR_MESSAGES="errorMessages";
|
|
public static final String WARNING_MESSAGES="warningMEssages";
|
|
public static final String CHILDREN="children";
|
|
|
|
public static enum Status{
|
|
PASSED,ERROR,WARNING
|
|
}
|
|
|
|
|
|
private String phase;
|
|
private Status lastOperationStatus;
|
|
private List<String> errorMessages;
|
|
private List<String> warningMessages;
|
|
private List<LifecycleInformation> children;
|
|
|
|
}
|