gw.lang.reflect.gs.ReloadResults Maven / Gradle / Ivy
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.lang.reflect.gs;
import java.util.List;
public class ReloadResults {
public enum ReloadStatus {
SUCCESS,
NOT_ATTEMPTED,
PARSE_FAILURE,
REDEFINE_REJECTED,
REDEFINE_ERROR,
OTHER_ERROR
}
private ReloadStatus _status;
private List _classNames;
private String _errorMessage;
public ReloadResults(ReloadStatus status, List classNames, String errorMessage) {
_status = status;
_classNames = classNames;
_errorMessage = errorMessage;
}
public ReloadStatus getStatus() {
return _status;
}
public List getClassNames() {
return _classNames;
}
public String getErrorMessage() {
return _errorMessage;
}
}