This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git
commit 72e19c44160d7d3a35722b54dc3413eff8dfdd4a Author: Olivier Lamy <ol...@apache.org> AuthorDate: Mon Nov 26 23:13:50 2012 +0000 oups missed to add the file git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413923 13f79535-47bb-0310-9956-ffa450edef68 --- .../incremental/IncrementalBuildHelperRequest.java | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java new file mode 100644 index 0000000..19111df --- /dev/null +++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java @@ -0,0 +1,75 @@ +package org.apache.maven.shared.incremental; +/* + * 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.HashSet; +import java.util.Set; + +/** + * @author Olivier Lamy + * @since 1.1 + */ +public class IncrementalBuildHelperRequest +{ + private Set<File> inputFiles; + + private File outputDirectory; + + public IncrementalBuildHelperRequest() + { + // no op + } + + public Set<File> getInputFiles() + { + if ( inputFiles == null ) + { + this.inputFiles = new HashSet<File>(); + } + return inputFiles; + } + + public void setInputFiles( Set<File> inputFiles ) + { + this.inputFiles = inputFiles; + } + + public IncrementalBuildHelperRequest inputFiles( Set<File> inputFiles ) + { + this.inputFiles = inputFiles; + return this; + } + + public File getOutputDirectory() + { + return outputDirectory; + } + + public void setOutputDirectory( File outputDirectory ) + { + this.outputDirectory = outputDirectory; + } + + public IncrementalBuildHelperRequest outputDirectory( File outputDirectory ) + { + this.outputDirectory = outputDirectory; + return this; + } +} -- To stop receiving notification emails like this one, please contact "commits@maven.apache.org" <commits@maven.apache.org>.