|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.linkcheck.model.LinkcheckFile
public class LinkcheckFile
The <file> to be checked.
| Constructor Summary | |
|---|---|
LinkcheckFile()
|
|
| Method Summary | |
|---|---|
void |
addResult(LinkcheckFileResult linkcheckFileResult)
Method addResult. |
boolean |
equals(Object other)
Method equals. |
String |
getAbsolutePath()
Get The file to check as String Object. |
int |
getNumberOfLinks()
Get the number of links for this file. |
int |
getNumberOfLinks(int level)
Get the number of links for this file depending the level wanted. |
String |
getRelativePath()
Get The relative path of the file. |
List |
getResults()
Method getResults. |
int |
getSuccessful()
Get The number of successful links in this file. |
int |
getUnsuccessful()
Get The number of unsuccessful links in this file. |
int |
hashCode()
Method hashCode. |
void |
removeResult(LinkcheckFileResult linkcheckFileResult)
Method removeResult. |
void |
setAbsolutePath(String absolutePath)
Set The file to check as String Object. |
void |
setRelativePath(String relativePath)
Set The relative path of the file. |
void |
setResults(List results)
Set All error details in this file. |
void |
setSuccessful(int successful)
Set The number of successful links in this file. |
void |
setUnsuccessful(int unsuccessful)
Set The number of unsuccessful links in this file. |
String |
toString()
Method toString. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LinkcheckFile()
| Method Detail |
|---|
public void addResult(LinkcheckFileResult linkcheckFileResult)
linkcheckFileResult - public boolean equals(Object other)
equals in class Objectother -
public String getAbsolutePath()
public String getRelativePath()
public List getResults()
public int getSuccessful()
public int getUnsuccessful()
public int hashCode()
hashCode in class Objectpublic void removeResult(LinkcheckFileResult linkcheckFileResult)
linkcheckFileResult - public void setAbsolutePath(String absolutePath)
absolutePath - public void setRelativePath(String relativePath)
relativePath - public void setResults(List results)
results - public void setSuccessful(int successful)
successful - public void setUnsuccessful(int unsuccessful)
unsuccessful - public String toString()
toString in class Objectpublic int getNumberOfLinks(int level)
LinkcheckFileResult.ERROR_LEVEL
LinkcheckFileResult.UNKNOWN_LEVEL
LinkcheckFileResult.VALID_LEVEL
LinkcheckFileResult.WARNING_LEVEL
level - the restricted level
UnsupportedOperationException - if the level is unsupported.public int getNumberOfLinks()
level -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||