Package org.eolang.maven
Class Moja<T extends org.apache.maven.plugin.AbstractMojo>
- java.lang.Object
-
- org.eolang.maven.Moja<T>
-
- Type Parameters:
T
- Type of mojo
public final class Moja<T extends org.apache.maven.plugin.AbstractMojo> extends Object
Mutable mojo builder.- Since:
- 0.1
-
-
Method Detail
-
with
public Moja<T> with(String attr, Object value)
Add one more attribute and return self.- Parameters:
attr
- The namevalue
- The value- Returns:
- Itself
-
copy
public Moja<T> copy(Object mojo)
Copy attributes from the given Mojo.- Parameters:
mojo
- Another mojo- Returns:
- Itself
-
execute
public void execute()
Execute it.
-
-