public class BaseObject extends Object
Constructor and Description |
---|
BaseObject() |
Modifier and Type | Method and Description |
---|---|
void |
compile()
创建正则匹配对象
|
String |
getDescription() |
String |
getId() |
String |
getName() |
String |
getPath() |
Pattern |
getPattern() |
String |
getRegex() |
String |
getTitle() |
boolean |
match(String command)
是否匹配命令
|
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setPattern(Pattern pattern) |
void |
setRegex(String regex) |
void |
setTitle(String title) |
public String getPath()
public void setPath(String path)
public String getId()
public void setId(String id)
public String getRegex()
public void setRegex(String regex)
public String getName()
public void setName(String name)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public Pattern getPattern()
public void setPattern(Pattern pattern)
public void compile()
public boolean match(String command)
command
- Copyright © 2006–2018 TinyGroup. All rights reserved.