Serializable@Deprecated public final class ModuleIdentifier extends Object implements Serializable
| Modifier and Type | Field | Description | 
|---|---|---|
static ModuleIdentifier | 
CLASSPATH | 
 Deprecated.  
The class path module (only present if booted from a class path). 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static ModuleIdentifier | 
create(String name) | 
 Deprecated.  
Creates a new module identifier using the specified name. 
 | 
static ModuleIdentifier | 
create(String name,
      String slot) | 
 Deprecated.  
Creates a new module identifier using the specified name and slot. 
 | 
boolean | 
equals(Object other) | 
 Deprecated.  
Determine whether this object is equal to another. 
 | 
boolean | 
equals(ModuleIdentifier other) | 
 Deprecated.  
Determine whether this object is equal to another. 
 | 
static ModuleIdentifier | 
fromString(String moduleSpec) | 
 Deprecated.  
Parse a module specification from a string. 
 | 
String | 
getName() | 
 Deprecated.  
Get the module name. 
 | 
String | 
getSlot() | 
 Deprecated.  
Get the module version slot. 
 | 
int | 
hashCode() | 
 Deprecated.  
Determine the hash code of this module identifier. 
 | 
String | 
toString() | 
 Deprecated.  
Get the string representation of this module identifier. 
 | 
public static final ModuleIdentifier CLASSPATH
public String getName()
public String getSlot()
public boolean equals(Object other)
public boolean equals(ModuleIdentifier other)
other - the other objecttrue if they are equal, false otherwisepublic int hashCode()
public String toString()
public static ModuleIdentifier fromString(String moduleSpec) throws IllegalArgumentException
moduleSpec - the specification stringIllegalArgumentException - if the format of the module specification is invalid or it is nullpublic static ModuleIdentifier create(String name, String slot)
create(String) method instead.name - the name of the moduleslot - the slot this module belongs inpublic static ModuleIdentifier create(String name)
name - the name of the moduleCopyright © 2018 JBoss by Red Hat. All rights reserved.