/** * @deprecated as of 1.382. * Use/derive from {@link #getModuleRoots(FilePath, AbstractBuild)} instead. */ @Deprecated public FilePath[] getModuleRoots(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoots", FilePath.class, AbstractBuild.class)) // if the subtype already derives newer getModuleRoots(FilePath,AbstractBuild), delegate to it return getModuleRoots(workspace,null); // otherwise the default implementation return new FilePath[] { getModuleRoot(workspace), }; }
return getModuleRoot(workspace);
return new FilePath[]{getModuleRoot(workspace,build)};
/** * @deprecated since 1.382 * Use/override {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ @Deprecated public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoot", FilePath.class,AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. return getModuleRoot(workspace,null); return workspace; }
/** * @deprecated as of 1.382. * Use/derive from {@link #getModuleRoots(FilePath, AbstractBuild)} instead. */ public FilePath[] getModuleRoots(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoots", FilePath.class, AbstractBuild.class)) // if the subtype already derives newer getModuleRoots(FilePath,AbstractBuild), delegate to it return getModuleRoots(workspace,null); // otherwise the default implementation return new FilePath[] { getModuleRoot(workspace), }; }
/** * Returns the root directory of the checked-out module. * <p> * This is usually where {@code pom.xml}, {@code build.xml} * and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws==null) return null; return getParent().getScm().getModuleRoot(ws, this); }
/** * @deprecated as of 1.382. * Use/derive from {@link #getModuleRoots(FilePath, AbstractBuild)} instead. */ public FilePath[] getModuleRoots(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoots", FilePath.class, AbstractBuild.class)) // if the subtype already derives newer getModuleRoots(FilePath,AbstractBuild), delegate to it return getModuleRoots(workspace,null); // otherwise the default implementation return new FilePath[] { getModuleRoot(workspace), }; }
/** * @deprecated since 1.382 * Use/override {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoot", FilePath.class,AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. return getModuleRoot(workspace,null); return workspace; }
/** * @deprecated as of 1.382. Use/derive from * {@link #getModuleRoots(FilePath, AbstractBuild)} instead. */ public FilePath[] getModuleRoots(FilePath workspace) { if (Util.isOverridden(SCM.class, getClass(), "getModuleRoots", FilePath.class, AbstractBuild.class)) // if the subtype already derives newer getModuleRoots(FilePath,AbstractBuild), delegate to it { return getModuleRoots(workspace, null); } // otherwise the default implementation return new FilePath[]{getModuleRoot(workspace),}; }
/** * @deprecated since 1.382 * Use/override {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoot", FilePath.class,AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. return getModuleRoot(workspace,null); return workspace; }
/** * @deprecated as of 1.382. * Use/derive from {@link #getModuleRoots(FilePath, AbstractBuild)} instead. */ @Deprecated public FilePath[] getModuleRoots(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoots", FilePath.class, AbstractBuild.class)) // if the subtype already derives newer getModuleRoots(FilePath,AbstractBuild), delegate to it return getModuleRoots(workspace,null); // otherwise the default implementation return new FilePath[] { getModuleRoot(workspace), }; }
/** * @deprecated since 1.382 * Use/override {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ @Deprecated public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoot", FilePath.class,AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. return getModuleRoot(workspace,null); return workspace; }
/** * @deprecated since 1.382 * Use/override {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class,getClass(),"getModuleRoot", FilePath.class,AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. return getModuleRoot(workspace,null); return workspace; }
/** * @deprecated since 1.382 Use/override * {@link #getModuleRoot(FilePath, AbstractBuild)} instead. */ public FilePath getModuleRoot(FilePath workspace) { if (Util.isOverridden(SCM.class, getClass(), "getModuleRoot", FilePath.class, AbstractBuild.class)) // if the subtype already implements newer getModuleRoot(FilePath,AbstractBuild), call that. { return getModuleRoot(workspace, null); } return workspace; }
/** * Returns the root directory of the checked-out module. * <p> * This is usually where <tt>pom.xml</tt>, <tt>build.xml</tt> * and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws==null) return null; return getParent().getScm().getModuleRoot(ws,this); }
/** * Returns the root directory of the checked-out module. * <p> * This is usually where <tt>pom.xml</tt>, <tt>build.xml</tt> * and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws==null) return null; return getParent().getScm().getModuleRoot(ws,this); }
/** * Returns the root directory of the checked-out module. <p> This is usually * where <tt>pom.xml</tt>, <tt>build.xml</tt> and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws == null) { return null; } return getParent().getScm().getModuleRoot(ws, this); }
@Override public FilePath getModuleRoot(FilePath workspace) { initPython(); if (pexec.isImplemented(10)) { return (FilePath) pexec.execPython("get_module_root", workspace); } else { return super.getModuleRoot(workspace); } }
/** * Returns the root directory of the checked-out module. * <p> * This is usually where <tt>pom.xml</tt>, <tt>build.xml</tt> * and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws==null) return null; return getParent().getScm().getModuleRoot(ws, this); }
/** * Returns the root directory of the checked-out module. * <p> * This is usually where <tt>pom.xml</tt>, <tt>build.xml</tt> * and so on exists. */ public final FilePath getModuleRoot() { FilePath ws = getWorkspace(); if (ws==null) return null; return getParent().getScm().getModuleRoot(ws,this); }