|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.rule.ImportDeclaration
public class ImportDeclaration
A class to represent an import declaration.
| Constructor Summary | |
|---|---|
ImportDeclaration()
Creates an empty import declaration |
|
ImportDeclaration(String target)
Creates an import declaration for the given target. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getTarget()
|
int |
hashCode()
|
boolean |
matches(Class<?> clazz)
Returns true if this ImportDeclaration correctly matches to the given clazz |
void |
readExternal(ObjectInput in)
|
void |
setTarget(String target)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportDeclaration()
public ImportDeclaration(String target)
target - | Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic String getTarget()
public void setTarget(String target)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic boolean matches(Class<?> clazz)
name -
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||