|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.violations.render.FileModelProxy
public class FileModelProxy
A proxy class for FileModel used to allow lazy loading of FileModel. This class is also used to render the FileModel.
| Constructor Summary | |
|---|---|
FileModelProxy(java.io.File xmlFile)
Construct this proxy. |
|
| Method Summary | |
|---|---|
FileModelProxy |
build(hudson.model.AbstractBuild<?,?> build)
Fluid setting of the build attribute. |
FileModelProxy |
contextPath(java.lang.String contextPath)
Fluid setting of context path. |
hudson.model.AbstractBuild<?,?> |
getBuild()
get the current build. |
java.lang.String |
getFileContent()
This gets called from the index.jelly script to render the marked up contents of the file. |
FileModel |
getFileModel()
Get the file model. |
boolean |
getShowLines()
Wheter to show lines. |
java.lang.String |
severityColumn(Violation v)
Get the severity column for a violation. |
java.lang.String |
typeLine(java.lang.String type)
Get the type line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileModelProxy(java.io.File xmlFile)
xmlFile - the xmlfile to create the FileModel from.| Method Detail |
|---|
public FileModelProxy build(hudson.model.AbstractBuild<?,?> build)
build - the owner build.
public FileModelProxy contextPath(java.lang.String contextPath)
contextPath - the current WEB context path.
public hudson.model.AbstractBuild<?,?> getBuild()
public java.lang.String typeLine(java.lang.String type)
type - the violation type.
public boolean getShowLines()
public java.lang.String getFileContent()
public FileModel getFileModel()
public java.lang.String severityColumn(Violation v)
v - the violation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||