org.rundeck.api.domain.ArchiveImport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rundeck-api-java-client Show documentation
Show all versions of rundeck-api-java-client Show documentation
Java client for the Rundeck REST API
The newest version!
package org.rundeck.api.domain;
import java.util.List;
/**
* ArchiveImport describes the result of an {@link org.rundeck.api.RundeckClient#importArchive(String, java.io.File,
* boolean, boolean)} request.
*
* @author greg
* @since 2014-03-09
*/
public class ArchiveImport {
private boolean successful;
private List errorMessages;
public ArchiveImport(final boolean successful, final List errorMessages) {
this.successful = successful;
this.errorMessages = errorMessages;
}
/**
* Return true if successful
* @return
*/
public boolean isSuccessful() {
return successful;
}
/**
* Return a list of error messages if unsuccessful
* @return
*/
public List getErrorMessages() {
return errorMessages;
}
}