code: public static List<ArtifactoryProjectAction> getArtifactoryProjectAction(
              String artifactoryServerName, AbstractProject project, String buildName) {
          if (shouldReturnEmptyList(artifactoryServerName, project)) {
              return Collections.emptyList();
          }
  
          return Lists.newArrayList(new ArtifactoryProjectAction(artifactoryServerName, buildName));
      }
docs: Return list with {@link ArtifactoryProjectAction} if not already exists in project actions.
  
  @param artifactoryServerName The name of Artifactory server
  @param project               The hudson project
  @return Empty list or list with one {@link ArtifactoryProjectAction}