- java.lang.Object
-
- swim.js.JsAgentRouteDef
-
- All Implemented Interfaces:
AgentDef
,AgentRouteDef
,Debug
,JsAgentDef
public class JsAgentRouteDef extends Object implements JsAgentDef, AgentRouteDef, Debug
-
-
Field Summary
Fields Modifier and Type Field Description protected UriPath
modulePath
protected UriPattern
pattern
protected String
routeName
-
Constructor Summary
Constructors Constructor Description JsAgentRouteDef(String routeName, UriPath modulePath, UriPattern pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JsAgentRouteDef
copy(String routeName, UriPath modulePath, UriPattern pattern)
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static JsAgentRouteDef
fromModulePath(String modulePath)
static JsAgentRouteDef
fromModulePath(UriPath modulePath)
int
hashCode()
UriPath
modulePath()
JsAgentRouteDef
modulePath(UriPath modulePath)
UriPattern
pattern()
JsAgentRouteDef
pattern(String pattern)
JsAgentRouteDef
pattern(UriPattern pattern)
String
routeName()
JsAgentRouteDef
routeName(String routeName)
String
toString()
-
-
-
Field Detail
-
routeName
protected final String routeName
-
modulePath
protected final UriPath modulePath
-
pattern
protected final UriPattern pattern
-
-
Constructor Detail
-
JsAgentRouteDef
public JsAgentRouteDef(String routeName, UriPath modulePath, UriPattern pattern)
-
-
Method Detail
-
routeName
public final String routeName()
- Specified by:
routeName
in interfaceAgentRouteDef
-
routeName
public JsAgentRouteDef routeName(String routeName)
-
modulePath
public final UriPath modulePath()
- Specified by:
modulePath
in interfaceJsAgentDef
-
modulePath
public JsAgentRouteDef modulePath(UriPath modulePath)
-
pattern
public final UriPattern pattern()
- Specified by:
pattern
in interfaceAgentRouteDef
-
pattern
public JsAgentRouteDef pattern(UriPattern pattern)
- Specified by:
pattern
in interfaceAgentRouteDef
-
pattern
public JsAgentRouteDef pattern(String pattern)
-
copy
protected JsAgentRouteDef copy(String routeName, UriPath modulePath, UriPattern pattern)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
fromModulePath
public static JsAgentRouteDef fromModulePath(UriPath modulePath)
-
fromModulePath
public static JsAgentRouteDef fromModulePath(String modulePath)
-
-