Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINDUP-223: Support executeBefore()/executeBeforeIDs() and executeAfter(... #214

Merged
merged 3 commits into from Aug 25, 2014

Conversation

jsight
Copy link
Member

@jsight jsight commented Aug 22, 2014

@jsight
Copy link
Member Author

jsight commented Aug 22, 2014

Also covering JIRA: https://issues.jboss.org/browse/WINDUP-160

@@ -130,7 +130,7 @@ private void logTimeTakenByPhase(GraphContext graphContext, RulePhase phase, int
{
RulePhaseExecutionStatisticsModel model = graphContext.getService(RulePhaseExecutionStatisticsModel.class)
.create();
model.setRulePhase(phase.toString());
model.setRulePhase(phase == null ? "Implicit" : phase.toString());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like "Implicit" should be a constant somewhere?

@jsight
Copy link
Member Author

jsight commented Aug 22, 2014

Ok, switched to using RulePhase.IMPLICIT (instead of null) and also defaulted getPhase() to MIGRATION_RULES.

}

@SuppressWarnings("unchecked")
private <T> Class<T> unwrapType(Class<T> wrapped)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something new? Why do we need this "now"? Just curious.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was there before, but I think in a less clear way.

lincolnthree added a commit that referenced this pull request Aug 25, 2014
WINDUP-223: Support executeBefore()/executeBeforeIDs() and executeAfter(...
@lincolnthree lincolnthree merged commit 3e3e8b1 into windup:master Aug 25, 2014
@jsight jsight deleted the WINDUP-223 branch September 11, 2014 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants