Skip to content

Commit

Permalink
Need to support exported/optional on non-versioned dependency entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Aug 2, 2013
1 parent 1533588 commit a6eff81
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@ public static AddonDependencyEntry create(String name)
return create(name, new EmptyVersionRange(), false, false);
}

/**
* Create a new {@link AddonDependencyEntry} with the given attributes.
*/
public static AddonDependencyEntry create(String name, boolean exported)
{
return create(name, new EmptyVersionRange(), exported, false);
}

/**
* Create a new {@link AddonDependencyEntry} with the given attributes.
*/
public static AddonDependencyEntry create(String name, boolean exported, boolean optional)
{
return create(name, new EmptyVersionRange(), exported, optional);
}

/**
* Create a new {@link AddonDependencyEntry} with the given attributes.
*/
Expand Down

0 comments on commit a6eff81

Please sign in to comment.