Returns the complete list of change sets for all checkout the build has performed. If no
checkouts have been performed, returns null.

@return The complete list of change sets of the build.
961411
public List<BuildChangeSet> getChangeSets() {
        List<BuildChangeSet> result;
        if (changeSets != null) {
            result = changeSets;
        } else if (changeSet != null) {
            result = Collections.singletonList(changeSet);
        } else {
            result = null;
	}
        return result;
    }
1104526
public Set<String> getSkipBuildPhrases() {
        return new HashSet<String>(Arrays.asList(getTrigger().getSkipBuildPhrase().split("[\\r\\n]+")));
    }
249711
public java.util.List<JobFlowDetail> getJobFlows() {
        if (jobFlows == null) {
            jobFlows = new com.amazonaws.internal.SdkInternalList<JobFlowDetail>();
        }
        return jobFlows;
    }
329661
@Nullable
    public List<Transaction> getTransactions() {
        return transactions == null ? null : ImmutableList.copyOf(transactions);
    }
1167717
@CheckForNull
    public JSONArray getPlatformPluginUpdates() {
        final VersionNumber version = getCurrentLevel();
        if (version == null) {
            return null;
        }
        return getPlatformPluginsForUpdate(version, Jenkins.getVersion());
    }
908738
public java.util.List<InstanceStateChange> getTerminatingInstances() {
        if (terminatingInstances == null) {
            terminatingInstances = new com.amazonaws.internal.SdkInternalList<InstanceStateChange>();
        }
        return terminatingInstances;
    }
597269
function() {
			this._commitUndo();
			var changes = [];
			for (var i=this.index; i >= 0; i--) {
				changes = changes.concat(this.stack[i].getUndoChanges());
			}
			return changes;
		}
649104
public List<CmsJspNavElement> getNavigationChanges() {

        List<CmsJspNavElement> newNav = getResultList();
        List<CmsJspNavElement> changedElements = new ArrayList<CmsJspNavElement>();
        for (CmsJspNavElement elem : newNav) {
            if (elem.hasChangedNavPosition()) {
                changedElements.add(elem);
            }
        }
        return changedElements;
    }
341470
public java.util.List<HsmConfiguration> getHsmConfigurations() {
        if (hsmConfigurations == null) {
            hsmConfigurations = new com.amazonaws.internal.SdkInternalList<HsmConfiguration>();
        }
        return hsmConfigurations;
    }
349404
public java.util.List<InventoryItemSchema> getSchemas() {
        if (schemas == null) {
            schemas = new com.amazonaws.internal.SdkInternalList<InventoryItemSchema>();
        }
        return schemas;
    }
1026882
public function getChangeSet()
    {
        $changeset = parent::getChangeSet();
        $changeset['hasOne']  = $this->filterNotSavedProperties($this->hasOneRelationships->calculateChangeSet());
        $changeset['hasMany'] = $this->filterNotSavedProperties($this->hasManyRelationships->calculateChangeSet());
        return $changeset;
    }
942719
public ChangesHolder getChanges(final Set<String> removedNodes, final Set<String> addedNodes)
   {
      if (handler != null)
      {
         Iterator<NodeData> addedStates = new Iterator<NodeData>()
         {
            private final Iterator<String> iter = addedNodes.iterator();

            public boolean hasNext()
            {
               return iter.hasNext();
            }

            public NodeData next()
            {

               // cycle till find a next or meet the end of set
               do
               {
                  String id = iter.next();
                  try
                  {
                     ItemData item = itemMgr.getItemData(id);
                     if (item != null)
                     {
                        if (item.isNode())
                        {
                           if (!indexingTree.isExcluded(item))
                           {
                              return (NodeData)item;
                           }
                        }
                        else
                        {
                           LOG.warn("Node not found, but property " + id + ", " + item.getQPath().getAsString()
                              + " found. ");
                        }
                     }
                     else
                     {
                        LOG.warn("Unable to index node with id " + id + ", node does not exist.");
                     }

                  }
                  catch (RepositoryException e)
                  {
                     LOG.error("Can't read next node data " + id, e);
                  }
               }
               while (iter.hasNext()); // get next if error or node not found

               return null; // we met the end of iterator set
            }

            public void remove()
            {
               throw new UnsupportedOperationException();
            }
         };

         Iterator<String> removedIds = new Iterator<String>()
         {
            private final Iterator<String> iter = removedNodes.iterator();

            public boolean hasNext()
            {
               return iter.hasNext();
            }

            public String next()
            {
               return nextNodeId();
            }

            public String nextNodeId() throws NoSuchElementException
            {
               return iter.next();
            }

            public void remove()
            {
               throw new UnsupportedOperationException();

            }
         };

         if (removedNodes.size() > 0 || addedNodes.size() > 0)
         {
            return handler.getChanges(removedIds, addedStates);
         }
      }
      return null;
   }
1284880
public java.util.List<InstancePatchState> getInstancePatchStates() {
        if (instancePatchStates == null) {
            instancePatchStates = new com.amazonaws.internal.SdkInternalList<InstancePatchState>();
        }
        return instancePatchStates;
    }
515511
public synchronized Set<ConfigurationDetails> getConfigurationDetails() {
		return inventory.entries().stream()
				.map(c->c.getConfiguration().orElse(null))
				.filter(v->v!=null)
				.map(v->v.getDetails())
				.collect(Collectors.toSet());
	}
838897
public List<Role> getChangedRoles()
    {
        return changedPermHolders.stream()
                .filter(p -> p instanceof Role)
                .map(Role.class::cast)
                .collect(Collectors.toList());
    }
1294638
protected Set<String> getChangedFiles() {

		// If there is no status file to compare against then always run the
		// generator
		File statusFile = getStatusFile();
		if (statusFile == null) {
			return null;
		}
		final long statusFileLastModified = statusFile.lastModified();
		final SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		if (isVerbose()) {
			getLog().info("Last code generator execution: " + df.format(new Date(statusFileLastModified)));
		}

		// Create list of files to check - start with project pom.xml and
		// generator config files
		List<File> filesToCheck = new ArrayList<File>();
		filesToCheck.add(new File(project.getBasedir(), "pom.xml"));

		// Now add generator config files
		FileSet generatorFileSet = new FileSet();
		generatorFileSet.setDirectory(project.getBasedir() + "/src/main/resources/generator");
		generatorFileSet.addInclude("*");
		filesToCheck.addAll(toFileList(generatorFileSet));

		// Finally add files from configured filesets in 'checkFileSets'
		for (FileSet fs : checkFileSets) {
			filesToCheck.addAll(toFileList(fs));
		}

		// Check files for modification
		Set<String> changedFiles = new HashSet<String>();
		for (File checkFile : filesToCheck) {
			if (!checkFile.isAbsolute()) {
				checkFile = new File(project.getBasedir(), checkFile.getPath());
			}
			final boolean isModified = checkFile.lastModified() > statusFileLastModified;
			if (isModified) {
				changedFiles.add(checkFile.getAbsolutePath());
			}
			if (isVerbose()) {
				getLog().info(
						"File '" + checkFile.getAbsolutePath() + "': " + (isModified ? "outdated" : "up-to-date")
								+ " (" + " " + df.format(new Date(checkFile.lastModified())) + ")");
			}
		}

		// Print info of result
		if (changedFiles.size() == 1) {
			String fileName = changedFiles.iterator().next();
			if (fileName.startsWith(project.getBasedir().getAbsolutePath())) {
				fileName = fileName.substring(project.getBasedir().getAbsolutePath().length() + 1);
			}
			final String message = MessageFormat.format("\"{0}\" has been modified since last generator "
					+ "run at {1}", fileName, df.format(new Date(statusFileLastModified)));
			getLog().info(message);
		} else if (changedFiles.size() > 1) {
			final String message = MessageFormat.format("{0} checked resources have been modified since "
					+ "last generator run at {1}", changedFiles.size(), df.format(new Date(statusFileLastModified)));
			getLog().info(message);
		} else {
			getLog().info("Everything is up-to-date - no generator run is needed");
		}
		return changedFiles;
	}
171680
public synchronized List<V> getCheckedItems() {
        List<V> result = new ArrayList<V>();
        for(int i = 0; i < itemStatus.size(); i++) {
            if(itemStatus.get(i)) {
                result.add(getItemAt(i));
            }
        }
        return result;
    }