Class Component.Builder

  • Enclosing class:
    Component

    public static class Component.Builder
    extends Object
    Builder for a Component to make things more clear
    • Constructor Detail

      • Builder

        public Builder()
        Constructs a new Builder for Components
    • Method Detail

      • TTDV

        public Component.Builder TTDV​(double val)
        Adds a value for Time To Detect Vulnerability
        Parameters:
        val - (new) TTDV
        Returns:
        updated Builder
      • PoCoB

        public Component.Builder PoCoB​(double val)
        Adds a value as Prob. of Component Break
        Parameters:
        val - (new) PoCoB
        Returns:
        updated Builder
      • name

        public Component.Builder name​(String name)
        Adds a name for the component
        Parameters:
        name - Name of the component
        Returns:
        updated Builder