|
||||||||||
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 Object
other
-
public String getAbsolutePath()
public String getRelativePath()
public List getResults()
public int getSuccessful()
public int getUnsuccessful()
public int hashCode()
hashCode
in class Object
public 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 Object
public 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 |