View Javadoc
1   package org.codehaus.mojo.axistools.wsdl2java;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import org.apache.maven.artifact.factory.ArtifactFactory;
23  import org.apache.maven.artifact.repository.ArtifactRepository;
24  import org.apache.maven.plugin.logging.Log;
25  import org.apache.maven.project.MavenProject;
26  import org.codehaus.mojo.axistools.axis.AxisPluginException;
27  
28  import java.io.File;
29  import java.util.ArrayList;
30  import java.util.List;
31  
32  /**
33   * @author: jesse
34   * @version: $Id$
35   */
36  public interface WSDL2JavaPlugin
37  {
38      String ROLE = WSDL2JavaPlugin.class.getName();
39  
40      void setUrls( ArrayList urls );
41  
42      void setSourceDependencies( ArrayList sourceDependencies );
43  
44      void setUrlDownloadDirectory( File urlDownloadDirectory );
45  
46      void setSourceDependencyDirectory( File sourceDependencyDirectory );
47  
48      void setUseEmitter( boolean useEmitter );
49  
50      void setMappings( ArrayList mappings );
51  
52      void setServerSide( boolean serverSide );
53  
54      void setPackageSpace( String packageSpace );
55  
56      void setVerbose( boolean verbose );
57  
58      void setTestCases( boolean testCases );
59  
60      void setRunTestCasesAsUnitTests( boolean runTestCasesAsUnitTests );
61  
62      void setAllElements( boolean allElements );
63  
64      void setDebug( boolean debug );
65  
66      void setTimeout( Integer timeout );
67  
68      void setNoImports( boolean noImports );
69  
70      void setNoWrapped( boolean noWrapped );
71  
72      void setWrapArrays( boolean wrapArrays ); //NJS 6 July 2006
73  
74      void setSkeletonDeploy( boolean skeletonDeploy );
75  
76      void setNamespaceToPackage( String namespaceToPackage );
77  
78      void setFileNamespaceToPackage( File fileNamespaceToPackage );
79  
80      void setDeployScope( String deployScope );
81  
82      void setTypeMappingVersion( String typeMappingVersion );
83  
84      void setFactory( String factory );
85  
86      void setNsIncludes( ArrayList nsIncludes );
87  
88      void setNsExcludes( ArrayList nsExcludes );
89  
90      void setHelperGen( boolean helperGen );
91  
92      void setUsername( String username );
93  
94      void setPassword( String password );
95  
96      void setImplementationClassName( String implementationClassName );
97  
98      void setSubPackageByFileName( boolean subPackageByFileName );
99  
100     void setTestSourceDirectory( File testSourceDirectory );
101 
102     void setPluginArtifacts( List pluginArtifacts );
103 
104     void setSourceDirectory( File sourceDirectory );
105 
106     void setOutputDirectory( File outputDirectory );
107 
108     void setTimestampDirectory( File timestampDirectory );
109 
110     void setStaleMillis( int staleMillis );
111 
112     void setProject( MavenProject project );
113 
114     void setLog( Log log );
115 
116     void setLocalRepository( ArtifactRepository localRepository );
117 
118     void setArtifactFactory( ArtifactFactory artifactFactory );
119 
120     void execute()
121         throws AxisPluginException;
122 
123     void setWsdlFiles( ArrayList wsdlFiles );
124 }