Skip to content
Permalink
Browse files
Added a new "flex-tool-api" module containing interfaces to simplify …
…flex tool integration into other products.
  • Loading branch information
chrisdutz committed Oct 30, 2014
1 parent d49cc39 commit cc164f3192d8c21ac50b7a5de456893394a4b0a9
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>14</version>
</parent>

<groupId>org.apache.flex</groupId>
<artifactId>flex-tool-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Flex Tool API</name>
<description>Set of API classes making flex tool integration easier.</description>
<url>http://flex.apache.org/</url>
<inceptionYear>2014</inceptionYear>

<mailingLists>
<mailingList>
<name>Apache Flex User List</name>
<subscribe>users-subscribe@flex.apache.org</subscribe>
<unsubscribe>users-unsubscribe@flex.apache.org</unsubscribe>
<post>users@flex.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive>
</mailingList>
</mailingLists>

<scm>
<connection>scm:svn:https://git-wip-us.apache.org/repos/asf/flex-utilities.git</connection>
<developerConnection>scm:svn:https://git-wip-us.apache.org/repos/asf/flex-utilities.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf/flex-utilities.git</url>
</scm>

</project>
@@ -0,0 +1,39 @@
/*
*
* 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.
*
*/

package org.apache.flex.tools;

/**
* This interface defines the entry point for any tool needing to
* invoke a flex tool.
*/
public interface FlexTool {

String getToolName();

String getToolGroupName();

/**
* Execute the flex tool and pass in an array of commandline arguments.
* @param args arguments passed to the tool.
* @return the return code returned by the tool.
*/
int executeTool(String[] args);

}

0 comments on commit cc164f3

Please sign in to comment.