Class MirrorSplicePortsFunction
- java.lang.Object
-
- org.neotropic.kuwaiba.core.persistence.reference.naming.util.DynamicSectionFunction
-
- org.neotropic.kuwaiba.core.persistence.reference.naming.util.MirrorSplicePortsFunction
-
public class MirrorSplicePortsFunction extends DynamicSectionFunction
Implements themirror-splice(a, b)
function, that generates pairs of ports numbered froma
tob
.a
andb
must be integers greater or equal to 0, static prefix an suffix IN and OUT- Author:
- Hardy Ryan Chingal <ryan.chingal@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static String
FUNCTION_PATTERN
protected int
parameter1
protected int
parameter2
-
Constructor Summary
Constructors Modifier Constructor Description MirrorSplicePortsFunction(String dynamicSectionFunction)
protected
MirrorSplicePortsFunction(String functionPattern, String dynamicSection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getPossibleValues()
Gets possible values generated with the defined function inside the Dynamic section
-
-
-
Field Detail
-
FUNCTION_PATTERN
public static final String FUNCTION_PATTERN
- See Also:
- Constant Field Values
-
parameter1
protected int parameter1
-
parameter2
protected int parameter2
-
-
Constructor Detail
-
MirrorSplicePortsFunction
protected MirrorSplicePortsFunction(String functionPattern, String dynamicSection) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
MirrorSplicePortsFunction
public MirrorSplicePortsFunction(String dynamicSectionFunction) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
-
Method Detail
-
getPossibleValues
public List<String> getPossibleValues()
Description copied from class:DynamicSectionFunction
Gets possible values generated with the defined function inside the Dynamic section- Specified by:
getPossibleValues
in classDynamicSectionFunction
- Returns:
- A list of possible values generated using the current function
-
-