Enum ModelFileFinder.RepositoryFilePriority
- java.lang.Object
- 
- java.lang.Enum<ModelFileFinder.RepositoryFilePriority>
- 
- cern.accsoft.steering.jmad.modeldefs.io.ModelFileFinder.RepositoryFilePriority
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ModelFileFinder.RepositoryFilePriority>
 - Enclosing interface:
- ModelFileFinder
 
 public static enum ModelFileFinder.RepositoryFilePriority extends java.lang.Enum<ModelFileFinder.RepositoryFilePriority> This enum defines what shall take priority if dealing with repository files.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ARCHIVEwhen the priority is set to Archive, then a repository file is first searched in the archive (jar, zip) and only if it cannot be extracted then it is looked up in the real repository.REPOSITORYwhen this is used, then a repository file is first looked up in the repository path.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelFileFinder.RepositoryFilePriorityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ModelFileFinder.RepositoryFilePriority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ARCHIVEpublic static final ModelFileFinder.RepositoryFilePriority ARCHIVE when the priority is set to Archive, then a repository file is first searched in the archive (jar, zip) and only if it cannot be extracted then it is looked up in the real repository.
 - 
REPOSITORYpublic static final ModelFileFinder.RepositoryFilePriority REPOSITORY when this is used, then a repository file is first looked up in the repository path. Only if it can not be found there then it is extracted from the archive.
 
- 
 - 
Method Detail- 
valuespublic static ModelFileFinder.RepositoryFilePriority[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModelFileFinder.RepositoryFilePriority c : ModelFileFinder.RepositoryFilePriority.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ModelFileFinder.RepositoryFilePriority valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-