public class ActorPath$
extends java.lang.Object
implements scala.Serializable
Modifier and Type | Field and Description |
---|---|
static ActorPath$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ActorPath$() |
Modifier and Type | Method and Description |
---|---|
scala.util.matching.Regex |
ElementRegex()
Deprecated.
Use `isValidPathElement` instead. Since 2.3.8.
|
scala.collection.immutable.Iterable<java.lang.String> |
emptyActorPath() |
ActorPath |
fromString(java.lang.String s)
Parse string as actor path; throws java.net.MalformedURLException if unable to do so.
|
boolean |
isValidPathElement(java.lang.String s)
This method is used to validate a path element (Actor Name).
|
void |
validatePathElement(java.lang.String element)
Validates the given actor path element and throws an
InvalidActorNameException if invalid. |
void |
validatePathElement(java.lang.String element,
java.lang.String fullPath)
Validates the given actor path element and throws an
InvalidActorNameException if invalid. |
public static final ActorPath$ MODULE$
public ActorPath fromString(java.lang.String s)
s
- (undocumented)public scala.util.matching.Regex ElementRegex()
public final void validatePathElement(java.lang.String element)
InvalidActorNameException
if invalid.
See isValidPathElement(java.lang.String)
for a non-throwing version.
element
- actor path element to be validatedpublic final void validatePathElement(java.lang.String element, java.lang.String fullPath)
InvalidActorNameException
if invalid.
See isValidPathElement(java.lang.String)
for a non-throwing version.
element
- actor path element to be validatedfullPath
- optional fullPath element that may be included for better error messages; null if not givenpublic final boolean isValidPathElement(java.lang.String s)
User defined Actor names may not start from a $
sign - these are reserved for system names.
s
- (undocumented)public final scala.collection.immutable.Iterable<java.lang.String> emptyActorPath()