-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WINDUP-369: Be able to focus effort on specific jars in the ear or war
- Loading branch information
Matej Briskar
committed
Nov 7, 2014
1 parent
b859260
commit 0fb3c1e
Showing
16 changed files
with
500 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
exec/api/src/main/java/org/jboss/windup/exec/configuration/options/UserIgnorePathOption.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package org.jboss.windup.exec.configuration.options; | ||
|
||
import org.jboss.windup.config.AbstractPathConfigurationOption; | ||
import org.jboss.windup.config.InputType; | ||
|
||
public class UserIgnorePathOption extends AbstractPathConfigurationOption | ||
{ | ||
|
||
public static final String NAME = "userIgnorePath"; | ||
|
||
public UserIgnorePathOption() | ||
{ | ||
super(true); | ||
} | ||
|
||
@Override | ||
public String getName() | ||
{ | ||
return NAME; | ||
} | ||
|
||
@Override | ||
public String getLabel() | ||
{ | ||
return "User Ignore Path"; | ||
} | ||
|
||
@Override | ||
public String getDescription() | ||
{ | ||
return "User Ignore Path. In case of directory it rakes all the files inside matching the pattern. (Search pattern: *windup-ignore.txt)"; | ||
} | ||
|
||
@Override | ||
public InputType getUIType() | ||
{ | ||
return InputType.FILE_OR_DIRECTORY; | ||
} | ||
|
||
@Override | ||
public boolean isRequired() | ||
{ | ||
return false; | ||
} | ||
|
||
@Override | ||
public int getPriority() | ||
{ | ||
return 7000; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
rules-java/src/main/java/org/jboss/windup/rules/apps/java/model/IgnoredFileRegexModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.jboss.windup.rules.apps.java.model; | ||
|
||
import org.jboss.windup.graph.model.WindupVertexFrame; | ||
|
||
import com.tinkerpop.frames.Property; | ||
import com.tinkerpop.frames.modules.typedgraph.TypeValue; | ||
|
||
@TypeValue(IgnoredFileRegexModel.TYPE) | ||
public interface IgnoredFileRegexModel extends WindupVertexFrame | ||
{ | ||
|
||
public static final String TYPE = "IgnoredFileRegex"; | ||
|
||
@Property("name_regex") | ||
public String getRegex(); | ||
|
||
@Property("name_regex") | ||
public void setRegex(String regex); | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
rules-java/src/main/java/org/jboss/windup/rules/apps/java/model/IgnoredPathModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.jboss.windup.rules.apps.java.model; | ||
|
||
import org.jboss.windup.graph.model.WindupVertexFrame; | ||
|
||
import com.tinkerpop.frames.Property; | ||
import com.tinkerpop.frames.modules.typedgraph.TypeValue; | ||
|
||
@TypeValue(IgnoredPathModel.TYPE) | ||
public interface IgnoredPathModel extends WindupVertexFrame | ||
{ | ||
|
||
public static final String TYPE = "IgnoredFile"; | ||
|
||
@Property("name_regex") | ||
public String getRegex(); | ||
|
||
@Property("name_regex") | ||
public void setRegex(String regex); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.