Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.apache.maven.project;
  
  /*
   * Licensed to the Apache Software Foundation (ASF) under one
   * or more contributor license agreements.  See the NOTICE file
   * distributed with this work for additional information
   * regarding copyright ownership.  The ASF licenses this file
   * to you under the Apache License, Version 2.0 (the
   * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
  *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
  */
 
 import java.util.Date;
 import java.util.List;
 
 
     implements ProjectBuildingRequest
 {
 
 
 
 
 
     private MavenProject project;
 
 
     private boolean processPlugins;
 
     private List<Profileprofiles;
 
     private List<StringactiveProfileIds;
 
     private List<StringinactiveProfileIds;
 
     private Properties systemProperties;
 
     private Properties userProperties;
 
     private Date buildStartTime;
 
     private boolean resolveDependencies;
 
 
     {
          = true;
          = new ArrayList<Profile>();
          = new ArrayList<String>();
          = new ArrayList<String>();
          = new Properties();
          = new Properties();
          = new ArrayList<ArtifactRepository>();
     }
 
     {
         this();
         setProcessPluginsrequest.isProcessPlugins() );
         setProfilesrequest.getProfiles() );
         setActiveProfileIdsrequest.getActiveProfileIds() );
         setInactiveProfileIdsrequest.getInactiveProfileIds() );
         setSystemPropertiesrequest.getSystemProperties() );
         setUserPropertiesrequest.getUserProperties() );
         setRemoteRepositoriesrequest.getRemoteRepositories() );
         setRepositorySessionrequest.getRepositorySession() );
         setLocalRepositoryrequest.getLocalRepository() );
         setBuildStartTimerequest.getBuildStartTime() );
         setProjectrequest.getProject() );
         setResolveDependenciesrequest.isResolveDependencies() );
         setValidationLevelrequest.getValidationLevel() );
     }
 
     public MavenProject getProject()
     {
         return ;
    }
    public void setProjectMavenProject mavenProject )
    {
        this. = mavenProject;
    }
    public ProjectBuildingRequest setLocalRepositoryArtifactRepository localRepository )
    {
        this. = localRepository;
        return this;
    }
    {
        return ;
    }
    {
        return ;
    }
    public ProjectBuildingRequest setRemoteRepositoriesList<ArtifactRepositoryremoteRepositories )
    {
        if ( remoteRepositories != null )
        {
            this. = new ArrayList<ArtifactRepository>( remoteRepositories );
        }
        else
        {
            this..clear();
        }
        return this;
    }
    {
        return ;
    }
    public ProjectBuildingRequest setPluginArtifactRepositoriesList<ArtifactRepositorypluginArtifactRepositories )
    {
        if ( pluginArtifactRepositories != null )
        {
            this. = new ArrayList<ArtifactRepository>( pluginArtifactRepositories );
        }
        else
        {
            this..clear();
        }
        return this;
    }
    {
        return ;
    }
    public ProjectBuildingRequest setSystemPropertiesProperties systemProperties )
    {
        if ( systemProperties != null )
        {
            this. = new Properties();
            this..putAllsystemProperties );
        }
        else
        {
            this..clear();
        }
        return this;
    }
    public Properties getUserProperties()
    {
        return ;
    }
    public ProjectBuildingRequest setUserPropertiesProperties userProperties )
    {
        if ( userProperties != null )
        {
            this. = new Properties();
            this..putAlluserProperties );
        }
        else
        {
            this..clear();
        }
        return this;
    }
    public boolean isProcessPlugins()
    {
        return ;
    }
    public ProjectBuildingRequest setProcessPluginsboolean processPlugins )
    {
        this. = processPlugins;
        return this;
    }
    
    public ProjectBuildingRequest setResolveDependenciesboolean resolveDependencies )
    {
        this. = resolveDependencies;
        return this;
    }
    public boolean isResolveDependencies()
    {
        return ;
    }
    public ProjectBuildingRequest setValidationLevelint validationLevel )
    {
        this. = validationLevel;
        return this;
    }
    public int getValidationLevel()
    {
        return ;
    }
    public List<StringgetActiveProfileIds()
    {
        return ;
    }
    public void setActiveProfileIdsList<StringactiveProfileIds )
    {
        if ( activeProfileIds != null )
        {
            this. = new ArrayList<String>( activeProfileIds );
        }
        else
        {
            this..clear();
        }
    }
    {
        return ;
    }
    public void setInactiveProfileIdsList<StringinactiveProfileIds )
    {
        if ( inactiveProfileIds != null )
        {
            this. = new ArrayList<String>( inactiveProfileIds );
        }
        else
        {
            this..clear();
        }
    }
    public void setProfilesList<Profileprofiles )
    {
        if ( profiles != null )
        {
            this. = new ArrayList<Profile>( profiles );
        }
        else
        {
            this..clear();
        }
    }
    public void addProfileProfile profile )
    {
        .addprofile );
    }
    public List<ProfilegetProfiles()
    {
        return ;
    }
    public Date getBuildStartTime()
    {
        return ;
    }
    public void setBuildStartTimeDate buildStartTime )
    {
        this. = buildStartTime;
    }
    {
        return ;
    }
    {
        this. = repositorySession;
        return this;
    }
    {
        if ( repositoryMerging == null )
        {
            throw new IllegalArgumentException"repository merge mode not specified" );
        }
        this. = repositoryMerging;
        return this;
    }
    {
        return ;
    }
New to GrepCode? Check out our FAQ X