Package org.hudsonci.model.project.property

Examples of org.hudsonci.model.project.property.IntegerProjectProperty


        AbstractBuild b = getBuildForDeprecatedMethods();
        return b != null ? b.getModuleRoots() : null;
    }

    public int getQuietPeriod() {
        IntegerProjectProperty property = CascadingUtil.getIntegerProjectProperty(this, QUIET_PERIOD_PROPERTY_NAME);
        Integer value = property.getValue();
        return property.getDefaultValue().equals(value) ? Hudson.getInstance().getQuietPeriod() : value;
    }
View Full Code Here


        CascadingUtil.getIntegerProjectProperty(this, QUIET_PERIOD_PROPERTY_NAME).setValue(seconds);
        save();
    }

    public int getScmCheckoutRetryCount() {
        IntegerProjectProperty property = CascadingUtil.getIntegerProjectProperty(this,
            SCM_CHECKOUT_RETRY_COUNT_PROPERTY_NAME);
        Integer value = property.getValue();
        return property.getDefaultValue().equals(value) ? Hudson.getInstance().getScmCheckoutRetryCount() : value;
    }
View Full Code Here

TOP

Related Classes of org.hudsonci.model.project.property.IntegerProjectProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.