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
;
31 * http://maven.apache.org/POM/4.0.0:RepositoryPolicy interface.
33 * <h3>Type http://maven.apache.org/POM/4.0.0:RepositoryPolicy documentation</h3>
37 public interface MavenDomRepositoryPolicy
extends MavenDomElement
{
40 * Returns the value of the enabled child.
42 * <h3>Element http://maven.apache.org/POM/4.0.0:enabled documentation</h3>
46 * @return the value of the enabled child.
49 @Required(value
= false, nonEmpty
= true)
50 GenericDomValue
<Boolean
> getEnabled();
53 * Returns the value of the updatePolicy child.
55 * <h3>Element http://maven.apache.org/POM/4.0.0:updatePolicy documentation</h3>
59 * @return the value of the updatePolicy child.
62 @Required(value
= false, nonEmpty
= true)
63 @Convert(MavenRepositoryUpdatePolicyConverter
.class)
64 GenericDomValue
<String
> getUpdatePolicy();
67 * Returns the value of the checksumPolicy child.
69 * <h3>Element http://maven.apache.org/POM/4.0.0:checksumPolicy documentation</h3>
73 * @return the value of the checksumPolicy child.
76 @Required(value
= false, nonEmpty
= true)
77 @Convert(MavenRepositoryChecksumPolicyConverter
.class)
78 GenericDomValue
<String
> getChecksumPolicy();