Package org.hudsonci.api.model

Examples of org.hudsonci.api.model.IProjectProperty.resetValue()


                } else {
                    return null;
                }
            }
        };
        filterProperty.resetValue();
        replay(filterProperty);
        project.doResetProjectProperty(input);
        verify(filterProperty);
    }
View Full Code Here


                    return null;
                }
            }
        };
        filterProperty.resetValue();
        resultProperty.resetValue();
        replay(filterProperty, resultProperty);
        project.doResetProjectProperty(input);
        verify(filterProperty, resultProperty);
    }
View Full Code Here

    public void doResetProjectProperty(@QueryParameter final String propertyName) throws IOException {
        checkPermission(CONFIGURE);
        for (String name : StringUtils.split(propertyName, PROPERTY_NAME_SEPARATOR)) {
            final IProjectProperty property = getProperty(name);
            if (null != property) {
                property.resetValue();
            }
        }
        save();
    }
View Full Code Here

     */
    private void removeCascadingJobProperty(String cascadingJobPropertyKey) {
        if (null != cascadingJobPropertyKey) {
            IProjectProperty projectProperty = CascadingUtil.getProjectProperty(this, cascadingJobPropertyKey);
            if (null != projectProperty) {
                projectProperty.resetValue();
            }
            cascadingJobProperties.remove(cascadingJobPropertyKey);
        }
    }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.