| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AbstractTopoMojo |
|
| 1.0;1 |
| 1 | package com.aurea.maven.plugins.sonic.topology; | |
| 2 | ||
| 3 | import java.io.File; | |
| 4 | ||
| 5 | import com.aurea.maven.plugins.sonic.AbstractSonicMojo; | |
| 6 | ||
| 7 | 0 | public abstract class AbstractTopoMojo extends AbstractSonicMojo { |
| 8 | ||
| 9 | /** | |
| 10 | * File containing the Topology CSV File. | |
| 11 | * | |
| 12 | * @parameter property="sonicesb.topologyFile" | |
| 13 | * default-value="src/main/sonicesb/topology.csv" | |
| 14 | */ | |
| 15 | protected File topologyHolder; | |
| 16 | ||
| 17 | /** | |
| 18 | * Definition of the separator string for the csv format. | |
| 19 | * | |
| 20 | * @parameter property="sonicesb.topologyFileSeparationString" | |
| 21 | * default-value=";" | |
| 22 | */ | |
| 23 | protected String topoFileSeparator; | |
| 24 | ||
| 25 | /** | |
| 26 | * @return the generated Topology file | |
| 27 | */ | |
| 28 | protected File getGeneratedTopologyHolder() { | |
| 29 | ||
| 30 | 0 | return new File(getTargetTopologyDir(), "/TopologyHolder.sjo"); |
| 31 | } | |
| 32 | ||
| 33 | /** | |
| 34 | * @return File containing the definition of the Topology csv file | |
| 35 | */ | |
| 36 | protected File getTopologyDefinitionFile(){ | |
| 37 | 0 | return topologyHolder; |
| 38 | } | |
| 39 | ||
| 40 | } |