提交 0d4789ed 编写于 作者: K Kohsuke Kawaguchi

opening this up for subtypes

上级 8c2c59bb
......@@ -84,10 +84,13 @@ public class FileParameterValue extends ParameterValue {
}
// post initialization hook
/*package*/ void setLocation(String location) {
protected void setLocation(String location) {
this.location = location;
}
public String getLocation() {
return location;
}
/**
* Exposes the originalFileName as an environment variable.
......@@ -117,6 +120,10 @@ public class FileParameterValue extends ParameterValue {
return originalFileName;
}
public FileItem getFile() {
return file;
}
@Override
public BuildWrapper createBuildWrapper(AbstractBuild<?,?> build) {
return new BuildWrapper() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册