Class Component.Builder
java.lang.Object
edu.kit.ipd.are.dsexplore.analysis.security.model.Component.Builder
- Enclosing class:
- Component
Builder for a Component to make things more clear
-
Constructor Details
-
Builder
public Builder()Constructs a new Builder for Components
-
-
Method Details
-
TTDV
Adds a value for Time To Detect Vulnerability- Parameters:
val
- (new) TTDV- Returns:
- updated Builder
-
PoCoB
Adds a value as Prob. of Component Break- Parameters:
val
- (new) PoCoB- Returns:
- updated Builder
-
name
Adds a name for the component- Parameters:
name
- Name of the component- Returns:
- updated Builder
-
build
Builds the component. Throws anIllegalArgumentException
if PoCoB or TTDV are not set.- Returns:
- the Component constructed with this builder
- Throws:
IllegalArgumentException
- if PoCoB or TTDV are not set.
-