/** * Gets all the {@link Describable}s in an array. */ public <T> T[] toArray(T[] array) { return data.toArray(array); }
@Restricted(NoExternalUse.class) Target[] orderedTargets() { // will contain targets ordered by reverse name length (place specific targets at the beginning) Target[] ts = targets.toArray(new Target[]{}); Arrays.sort(ts, TARGET_COMPARATOR); return ts; }
/** * Gets all the {@link Describable}s in an array. */ public T[] toArray(T[] array) { return data.toArray(array); }
/** * Return the JIRA sites. * * @return the JIRA sites */ public JiraSite[] getSites() { return sites.toArray(new JiraSite[0]); }
/** * Gets all the {@link Describable}s in an array. */ public <T> T[] toArray(T[] array) { return data.toArray(array); }
/** * Gets all the {@link Describable}s in an array. */ public T[] toArray(T[] array) { return data.toArray(array); }
/** * Gets all the {@link Describable}s in an array. */ public T[] toArray(T[] array) { return data.toArray(array); }
/** * Gets all the {@link Describable}s in an array. */ public T[] toArray(T[] array) { return data.toArray(array); }
/** * Return the Hubot sites. * * @return the Hubot sites */ public HubotSite[] getSites() { return sites.toArray(new HubotSite[0]); }
public S3Profile[] getProfiles() { return profiles.toArray(new S3Profile[0]); }
public BlobStoreProfile[] getProfiles() { return profiles.toArray(new BlobStoreProfile[0]); }
public JiraSite[] getSites() { return sites.toArray(new JiraSite[0]); }
public Site[] getSites() { return sites.toArray(new Site[0]); }
public JiraSite[] getSites() { return sites.toArray(new JiraSite[0]); }
public CredentialsSSHSite[] getSites() { return sites.toArray(new CredentialsSSHSite[0]); }
public HubotSite[] getSites() { return sites.toArray(new HubotSite[0]); }
/** * Returns the configured Groovy parsers. * * @return the Groovy parsers */ public GroovyParser[] getParsers() { return groovyParsers.toArray(new GroovyParser[groovyParsers.size()]); }
/** * Getter for patterns * * @return the patterns */ public String[] getPatterns() { return patterns.toArray(new String[patterns.size()]); }
@Restricted(NoExternalUse.class) Target[] orderedTargets() { // will contain targets ordered by reverse name length (place specific targets at the beginning) Target[] ts = targets.toArray(new Target[]{}); Arrays.sort(ts, TARGET_COMPARATOR); return ts; }
/** * Returns the configured Groovy parsers. * * @return the Groovy parsers */ public GroovyParser[] getParsers() { return groovyParsers.toArray(new GroovyParser[groovyParsers.size()]); }