KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > maven > execution > MavenExecutionRequest


1 package org.apache.maven.execution;
2
3 /*
4  * Copyright 2001-2005 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */

18
19 import org.apache.maven.artifact.repository.ArtifactRepository;
20 import org.apache.maven.monitor.event.EventDispatcher;
21 import org.apache.maven.monitor.event.EventMonitor;
22 import org.apache.maven.profiles.ProfileManager;
23 import org.apache.maven.settings.Settings;
24
25 import java.util.Date JavaDoc;
26 import java.util.List JavaDoc;
27 import java.util.Properties JavaDoc;
28
29 /**
30  * @author <a HREF="mailto:jason@maven.org">Jason van Zyl</a>
31  * @version $Id: MavenExecutionRequest.java 320797 2005-10-13 16:36:54Z brett $
32  */

33 public interface MavenExecutionRequest
34 {
35     ArtifactRepository getLocalRepository();
36
37     List JavaDoc getGoals();
38
39     void setSession( MavenSession session );
40
41     MavenSession getSession();
42
43     void addEventMonitor( EventMonitor monitor );
44
45     EventDispatcher getEventDispatcher();
46
47     Settings getSettings();
48
49     String JavaDoc getBaseDirectory();
50
51     void setRecursive( boolean recursive );
52
53     boolean isRecursive();
54
55     void setReactorActive( boolean reactorActive );
56
57     boolean isReactorActive();
58
59     void setPomFile( String JavaDoc pomFile );
60
61     String JavaDoc getPomFile();
62
63     void setFailureBehavior( String JavaDoc failureBehavior );
64
65     String JavaDoc getFailureBehavior();
66
67     ProfileManager getGlobalProfileManager();
68
69     Properties JavaDoc getExecutionProperties();
70
71     Date JavaDoc getStartTime();
72
73     boolean isShowErrors();
74 }
75
Popular Tags