blob: 64247bbc27de8f1b01f2c3ee4effa76983420bec [file] [log] [blame]
package org.apache.tomcat.maven.common.run;
/*
* 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.io.File;
import java.util.List;
/**
* @author Olivier Lamy
* @since 2.0
*/
public class ClassLoaderEntriesCalculatorResult
{
/**
* classpath entries File .toURI().toString()
*/
private List<String> classPathEntries;
/**
* List of files to cleanup after execution
*/
private List<File> tmpDirectories;
/**
* directory part of webapp classpath (project.build.directory and reactor projects)
*/
private List<String> buildDirectories;
/**
* @param classPathEntries Classpath entries File .toURI().toString()
* @param tmpDirectories List of files to cleanup after execution
* @param buildDirectories Directory part of webapp classpath (project.build.directory and reactor projects)
*/
public ClassLoaderEntriesCalculatorResult( List<String> classPathEntries, List<File> tmpDirectories,
List<String> buildDirectories )
{
this.classPathEntries = classPathEntries;
this.tmpDirectories = tmpDirectories;
this.buildDirectories = buildDirectories;
}
public List<String> getClassPathEntries()
{
return classPathEntries;
}
public void setClassPathEntries( List<String> classPathEntries )
{
this.classPathEntries = classPathEntries;
}
public List<File> getTmpDirectories()
{
return tmpDirectories;
}
public void setTmpDirectories( List<File> tmpDirectories )
{
this.tmpDirectories = tmpDirectories;
}
public List<String> getBuildDirectories()
{
return buildDirectories;
}
}