blob: a022da1ecc58b9f6289a38388d1c15678b5e3277 [file] [log] [blame]
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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.
*/
// Generated on Mon Mar 17 18:02:09 MSK 2008
// DTD/Schema : http://maven.apache.org/POM/4.0.0
package org.jetbrains.idea.maven.dom.model;
import com.intellij.util.xml.Convert;
import com.intellij.util.xml.GenericDomValue;
import com.intellij.util.xml.Required;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.idea.maven.dom.MavenDomElement;
import org.jetbrains.idea.maven.dom.converters.MavenRepositoryChecksumPolicyConverter;
import org.jetbrains.idea.maven.dom.converters.MavenRepositoryUpdatePolicyConverter;
/**
* http://maven.apache.org/POM/4.0.0:RepositoryPolicy interface.
* <pre>
* <h3>Type http://maven.apache.org/POM/4.0.0:RepositoryPolicy documentation</h3>
* 4.0.0
* </pre>
*/
public interface MavenDomRepositoryPolicy extends MavenDomElement {
/**
* Returns the value of the enabled child.
* <pre>
* <h3>Element http://maven.apache.org/POM/4.0.0:enabled documentation</h3>
* 4.0.0
* </pre>
*
* @return the value of the enabled child.
*/
@NotNull
@Required(value = false, nonEmpty = true)
GenericDomValue<Boolean> getEnabled();
/**
* Returns the value of the updatePolicy child.
* <pre>
* <h3>Element http://maven.apache.org/POM/4.0.0:updatePolicy documentation</h3>
* 4.0.0
* </pre>
*
* @return the value of the updatePolicy child.
*/
@NotNull
@Required(value = false, nonEmpty = true)
@Convert(MavenRepositoryUpdatePolicyConverter.class)
GenericDomValue<String> getUpdatePolicy();
/**
* Returns the value of the checksumPolicy child.
* <pre>
* <h3>Element http://maven.apache.org/POM/4.0.0:checksumPolicy documentation</h3>
* 4.0.0
* </pre>
*
* @return the value of the checksumPolicy child.
*/
@NotNull
@Required(value = false, nonEmpty = true)
@Convert(MavenRepositoryChecksumPolicyConverter.class)
GenericDomValue<String> getChecksumPolicy();
}