@@ -0,0 +1,2265 @@
+/*%0A * Copyright 2011 DTO Solutions, Inc. (http://dtosolutions.com)%0A *%0A *  Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *  you may not use this file except in compliance with the License.%0A *  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *  Unless required by applicable law or agreed to in writing, software%0A *  distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *  See the License for the specific language governing permissions and%0A *  limitations under the License.%0A */%0A%0A/*%0A* NodeExecutorResultImpl.java%0A* %0A* User: Greg Schueler %3Ca href=%22mailto:greg@dtosolutions.com%22%3Egreg@dtosolutions.com%3C/a%3E%0A* Created: 3/31/11 6:54 PM%0A* %0A*/%0Apackage com.dtolabs.rundeck.core.execution.service;%0A%0A/**%0A * NodeExecutorResultImpl simple implementation of %7B@link NodeExecutorResult%7D%0A *%0A * @author Greg Schueler %3Ca href=%22mailto:greg@dtosolutions.com%22%3Egreg@dtosolutions.com%3C/a%3E%0A */%0Apublic class NodeExecutorResultImpl implements NodeExecutorResult %7B%0A    private int resultCode;%0A    private boolean success;%0A%0A    public NodeExecutorResultImpl(final int resultCode, final boolean success) %7B%0A        this.resultCode = resultCode;%0A        this.success = success;%0A    %7D%0A%0A    public boolean isSuccess() %7B%0A        return success;%0A    %7D%0A%0A    public int getResultCode() %7B%0A        return resultCode;%0A    %7D%0A%0A    @Override%0A    public boolean equals(final Object o) %7B%0A        if (this == o) %7B%0A            return true;%0A        %7D%0A        if (o == null %7C%7C getClass() != o.getClass()) %7B%0A            return false;%0A        %7D%0A%0A        final NodeExecutorResultImpl that = (NodeExecutorResultImpl) o;%0A%0A        if (resultCode != that.resultCode) %7B%0A            return false;%0A        %7D%0A        if (success != that.success) %7B%0A            return false;%0A        %7D%0A%0A        return true;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = resultCode;%0A        result = 31 * result + (success ? 1 : 0);%0A        return result;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22NodeExecutorResultImpl%7B%22 +%0A               %22resultCode=%22 + resultCode +%0A               %22, success=%22 + success +%0A               '%7D';%0A    %7D%0A%7D%0A

Add simple impl of NodeExecutorResult