Enum InMemoryClasspath
- java.lang.Object
-
- java.lang.Enum<InMemoryClasspath>
-
- io.nuun.kernel.core.internal.scanner.inmemory.InMemoryClasspath
-
- All Implemented Interfaces:
Classpath,Serializable,Comparable<InMemoryClasspath>
public enum InMemoryClasspath extends Enum<InMemoryClasspath> implements Classpath
- Author:
- epo.jemba@kametic.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InMemoryClasspathadd(ClasspathAbstractContainer<?> entry)Collection<ClasspathAbstractContainer<?>>entries()ClasspathAbstractContainer<?>entry(String container)voidreset()static InMemoryClasspathvalueOf(String name)Returns the enum constant of this type with the specified name.static InMemoryClasspath[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final InMemoryClasspath INSTANCE
-
-
Method Detail
-
values
public static InMemoryClasspath[] 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 (InMemoryClasspath c : InMemoryClasspath.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InMemoryClasspath valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
add
public InMemoryClasspath add(ClasspathAbstractContainer<?> entry)
-
reset
public void reset()
-
entries
public Collection<ClasspathAbstractContainer<?>> entries()
-
entry
public ClasspathAbstractContainer<?> entry(String container)
-
-