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

com.atlassian.clover.registry.format.RegAccessMode Maven / Gradle / Ivy

Go to download

Clover's runtime library - required by code instrumented by Clover. Clover is an award-winning code coverage and testing tool for Java and Groovy. It integrates easily with Maven, Ant, Grails, Eclipse and IntelliJ IDEA as well as with continuous integration servers such as Bamboo, Jenkins or Hudson.

The newest version!
package com.atlassian.clover.registry.format;

public enum RegAccessMode {
    READWRITE(0),
    READONLY(1);

    private final int value;

    RegAccessMode(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static RegAccessMode getFor(int value) {
        if (value == 1) {
            return READONLY;
        } else {
            return READWRITE;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy