/*
(non-Javadoc)

@see org.apache.maven.surefire.providerapi.SurefireProvider#getSuites()
324602
@SuppressWarnings("rawtypes")
	@Override
	public Iterable<Class<?>> getSuites() {
		TestsToRun scanned = scanResult.applyFilter(new PowerUnitProviderScannerFilter(parameters), testClassLoader);
		return runOrderCalculator.orderTestClasses(scanned);
	}
184926
@Override
    public Callback[] getRequiredCallbacks(CallbackHandler callbackHandler) throws IOException, UnsupportedCallbackException {
        Callback[] callbacks = new Callback[3];
        callbacks[0] = new WSCredTokenCallbackImpl("Credential Token");
        callbacks[1] = new WSAuthMechOidCallbackImpl("AuthMechOid");
        callbacks[2] = new JwtTokenCallback();
        callbackHandler.handle(callbacks);
        return callbacks;
    }
322829
@Override
    public List<String> getCalendarNames() throws JobPersistenceException {
        return doWithLock(new LockCallback<List<String>>() {
            @Override
            public List<String> doWithLock(JedisCommands jedis) throws JobPersistenceException {
                return storage.getCalendarNames(jedis);
            }
        }, "Could not retrieve calendar names.");
    }
572423
public List<Item> getQueuedItems() {
        LinkedList<Item> list = new LinkedList<>();
        for (Item item : Jenkins.getInstance().getQueue().getItems()) {
            if (item.task == owner) {
                list.addFirst(item);
            }
        }
    	return list;
    }
1064651
public AWSCredentials getCredentials() {
        if (credentialProvider != null) {
            return credentialProvider.getCredentials();
        } else {
            credentialProvider = new JsonStaticCredentialsProvider(credentials);
            return credentialProvider.getCredentials();
        }
    }
794291
public List<AbstractProject> getTiedJobs() {
        Node node = getNode();
        return (node != null) ? node.getSelfLabel().getTiedJobs() : Collections.EMPTY_LIST;
    }
585509
public java.util.List<String> getJobFlowStates() {
        if (jobFlowStates == null) {
            jobFlowStates = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return jobFlowStates;
    }
767438
public Map<String, Job> getJobs(FolderJob folder) throws IOException {
        return getJobs(folder, null);
    }
1258529
@Override
  public Set<String> getJobKeys() {

    Set<String> outList = new HashSet<String>();

    synchronized (lock) {
      for (JobWrapper jw : jobsByKey.values()) {

        if (jw != null) {

          outList.add(jw.jobDetail.getName());
        }
      }
    }

    return outList == null ? java.util.Collections.<String>emptySet() : outList;
  }
89528
public ICommonsSet <JobKey> getJobKeys (final GroupMatcher <JobKey> matcher) throws SchedulerException
  {
    return m_aSched.getJobKeys (matcher);
  }
1135643
@Override
  public synchronized List<JobSpec> getJobs() {
    return Lists.transform(Lists.newArrayList(
        loader.loadPullFilesRecursively(loader.getRootDirectory(), this.sysConfig, shouldLoadGlobalConf())),
        this.converter);
  }
572138
@Override
    public Set<String> findAllJobTypes() {
        return stream(collection.find().maxTime(500, TimeUnit.MILLISECONDS).spliterator(), false)
                .map(doc -> doc.getString(ID))
                .collect(toSet());
    }
267247
public List<String> getJobGroupNames(T jedis){
        final Set<String> groupsSet = jedis.smembers(redisSchema.jobGroupsSet());
        List<String> groups = new ArrayList<>(groupsSet.size());
        for (String group : groupsSet) {
            groups.add(redisSchema.jobGroup(group));
        }
        return groups;
    }
760954
public java.util.List<String> getTasks() {
        if (tasks == null) {
            tasks = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return tasks;
    }
748165
@Override
	public List<String> getJobGroups() throws SchedulerException {
		List<String> groups = scheduler.getJobGroupNames();
		Collections.sort(groups);
		return groups;
	}
909470
public Invoices getAccountInvoices(final String accountCode) {
        return doGET(Accounts.ACCOUNTS_RESOURCE + "/" + accountCode + Invoices.INVOICES_RESOURCE,
                     Invoices.class, new QueryParams());
    }
331153
public Collection<?> getOverrides() {
        List<Object> r = new ArrayList<>();
        for (JobProperty<? super JobT> p : properties)
            r.addAll(p.getJobOverrides());
        return r;
    }