update copyright
[fedora-idea.git] / plugins / maven / src / main / java / org / jetbrains / idea / maven / dom / model / MavenDomRepositoryPolicy.java
bloba022da1ecc58b9f6289a38388d1c15678b5e3277
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 // Generated on Mon Mar 17 18:02:09 MSK 2008
18 // DTD/Schema : http://maven.apache.org/POM/4.0.0
20 package org.jetbrains.idea.maven.dom.model;
22 import com.intellij.util.xml.Convert;
23 import com.intellij.util.xml.GenericDomValue;
24 import com.intellij.util.xml.Required;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.idea.maven.dom.MavenDomElement;
27 import org.jetbrains.idea.maven.dom.converters.MavenRepositoryChecksumPolicyConverter;
28 import org.jetbrains.idea.maven.dom.converters.MavenRepositoryUpdatePolicyConverter;
30 /**
31 * http://maven.apache.org/POM/4.0.0:RepositoryPolicy interface.
32 * <pre>
33 * <h3>Type http://maven.apache.org/POM/4.0.0:RepositoryPolicy documentation</h3>
34 * 4.0.0
35 * </pre>
37 public interface MavenDomRepositoryPolicy extends MavenDomElement {
39 /**
40 * Returns the value of the enabled child.
41 * <pre>
42 * <h3>Element http://maven.apache.org/POM/4.0.0:enabled documentation</h3>
43 * 4.0.0
44 * </pre>
46 * @return the value of the enabled child.
48 @NotNull
49 @Required(value = false, nonEmpty = true)
50 GenericDomValue<Boolean> getEnabled();
52 /**
53 * Returns the value of the updatePolicy child.
54 * <pre>
55 * <h3>Element http://maven.apache.org/POM/4.0.0:updatePolicy documentation</h3>
56 * 4.0.0
57 * </pre>
59 * @return the value of the updatePolicy child.
61 @NotNull
62 @Required(value = false, nonEmpty = true)
63 @Convert(MavenRepositoryUpdatePolicyConverter.class)
64 GenericDomValue<String> getUpdatePolicy();
66 /**
67 * Returns the value of the checksumPolicy child.
68 * <pre>
69 * <h3>Element http://maven.apache.org/POM/4.0.0:checksumPolicy documentation</h3>
70 * 4.0.0
71 * </pre>
73 * @return the value of the checksumPolicy child.
75 @NotNull
76 @Required(value = false, nonEmpty = true)
77 @Convert(MavenRepositoryChecksumPolicyConverter.class)
78 GenericDomValue<String> getChecksumPolicy();