All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.peachapisecurity.api.PeachState Maven / Gradle / Ivy


/*
 * Copyright 2017 Peach Tech
 * Licensed under the Apache License, Version 2.0 (the "License"); you may 
 * not use this file except in compliance with the License. You may obtain 
 * a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
 * implied. See the License for the specific language governing 
 * permissions and limitations under the License.
 */

package com.peachapisecurity.api;

/**
 * FOR FUTURE USE
 * State as returned by Proxy API
 */
public enum PeachState {
    /** Continue with current test case */
    Continue(1),
    /** Skip to next test case */
    NextTest(2),
    /** Internal, stop error occurred */
    Error(3),
    /** testTeardown hasn't been run yet */
    Unknown(4);
    
    private final int numVal;

    PeachState(int numVal) {
        this.numVal = numVal;
    }

    public int getNumVal() {
        return numVal;
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy