Package io.typeflows.github.workflow
Class StrExp
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.Expression
public final class StrExp extends Base implements Expression
Represents a string expression in GitHub Actions workflows.
String expressions can perform text operations like joins, comparisons, and pattern matching. They support functions like startsWith, endsWith, contains, and can be combined with logical operators.
-
-
Method Summary
Modifier and Type Method Description StringgetValue()StringtoString()final BoolExpjoin(Character separator)final BoolExphashFiles()final BoolExpstartsWith(String that)final BoolExpstartsWith(StrExp that)final BoolExpendsWith(String that)final BoolExpendsWith(StrExp that)final BoolExpcontains(String that)final BoolExpcontains(StrExp that)final BoolExpisEqualTo(String that)final BoolExpisEqualTo(StrExp that)final BoolExpnotEqualTo(String that)final BoolExpnotEqualTo(StrExp that)final StrExpor(Expression that)final static StrExpof(JsonExp value)final static StrExpof(String value)-
-
Constructor Detail
-
StrExp
StrExp(JsonExp value)
-
-
Method Detail
-
startsWith
final BoolExp startsWith(String that)
-
startsWith
final BoolExp startsWith(StrExp that)
-
notEqualTo
final BoolExp notEqualTo(String that)
-
notEqualTo
final BoolExp notEqualTo(StrExp that)
-
or
final StrExp or(Expression that)
-
-
-
-