Skip to content
Permalink
Browse files
Merge pull request #264 from mafraba/JENKINS-38058
[JENKINS-38058] bring back lost constructor for 'Folder'
  • Loading branch information
olivergondza committed Jan 28, 2017
2 parents 2521504 + c9d408a commit 88be022841ce43fe79fe57f32a8169314384fd48
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/main/java/org/jenkinsci/test/acceptance/po/Folder.java
@@ -21,7 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

package org.jenkinsci.test.acceptance.po;

import java.net.URL;
@@ -33,6 +32,7 @@
*/
@Describable("com.cloudbees.hudson.plugins.folder.Folder")
public class Folder extends TopLevelItem implements Container {

private final JobsMixIn jobs;
private final ViewsMixIn views;

@@ -43,6 +43,12 @@ public Folder(final Injector injector, final URL url, final String name) {
views = new ViewsMixIn(this);
}

public Folder(PageObject context, URL url, String name) {
super(context, url, name);
jobs = new JobsMixIn(this);
views = new ViewsMixIn(this);
}

@Override
public JobsMixIn getJobs() {
return jobs;

0 comments on commit 88be022

Please sign in to comment.