Package org.eolang.maven.tojos
Class PlacedTojo
- java.lang.Object
-
- org.eolang.maven.tojos.PlacedTojo
-
public final class PlacedTojo extends Object
Placed tojo.- Since:
- 0.30
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dependency()
The placed tojo dependency.String
identifier()
The tojo id.boolean
isClass()
Check if the tojo is a class.boolean
isJar()
Check if the tojo is a jar.boolean
placed()
Check if the tojo is placed.String
related()
The placed tojo related file path.boolean
sameHash(String hash)
Check if the tojo has the same hash.void
unplace()
Mark the tojo as unplaced.boolean
unplaced()
Check if the tojo is unplaced.
-
-
-
Method Detail
-
identifier
public String identifier()
The tojo id.- Returns:
- The id.
-
dependency
public String dependency()
The placed tojo dependency.- Returns:
- The dependency.
-
related
public String related()
The placed tojo related file path.- Returns:
- The related file path.
-
sameHash
public boolean sameHash(String hash)
Check if the tojo has the same hash.- Parameters:
hash
- The hash to check.- Returns:
- True if the hash is the same.
-
unplace
public void unplace()
Mark the tojo as unplaced.
-
isClass
public boolean isClass()
Check if the tojo is a class.- Returns:
- True if the tojo is a class.
-
isJar
public boolean isJar()
Check if the tojo is a jar.- Returns:
- True if the tojo is a jar.
-
placed
public boolean placed()
Check if the tojo is placed.- Returns:
- True if the tojo is placed.
-
unplaced
public boolean unplaced()
Check if the tojo is unplaced.- Returns:
- True if the tojo is unplaced.
-
-