Class FailureCause

    • Constructor Detail

      • FailureCause

        @DataBoundConstructor
        public FailureCause​(String id,
                            String name,
                            String description,
                            String comment,
                            Date lastOccurred,
                            String categories,
                            List<Indication> indications,
                            List<FailureCauseModification> modifications)
        Standard data bound constructor.
        Parameters:
        id - the id.
        name - the name of this FailureCause.
        description - the description of this FailureCause.
        comment - the comment of this FailureCause.
        lastOccurred - the time at which this FailureCause last occurred.
        categories - the categories of this FailureCause.
        indications - the list of indications
        modifications - the modification history of this FailureCause.
      • FailureCause

        public FailureCause​(String id,
                            String name,
                            String description,
                            String comment,
                            Date lastOccurred,
                            List<String> categories,
                            List<Indication> indications,
                            List<FailureCauseModification> modifications)
        JSON constructor.
        Parameters:
        id - the id.
        name - the name of this FailureCause.
        description - the description of this FailureCause.
        comment - the comment of this FailureCause.
        lastOccurred - the last time this FailureCause occurred.
        categories - the categories of this FailureCause.
        indications - the list of indications
        modifications - the modification history of this FailureCause.
      • FailureCause

        public FailureCause​(String name,
                            String description)
        Standard constructor.
        Parameters:
        name - the name of this FailureCause.
        description - the description of this FailureCause.
      • FailureCause

        public FailureCause​(String name,
                            String description,
                            String comment)
        Standard constructor.
        Parameters:
        name - the name of this FailureCause.
        description - the description of this FailureCause.
        comment - the comment for this FailureCause.
      • FailureCause

        public FailureCause​(String name,
                            String description,
                            String comment,
                            String categories)
        Standard constructor.
        Parameters:
        name - the name of this FailureCause.
        description - the description of this FailureCause.
        comment - the comment for this FailureCause.
        categories - the categories of this FailureCause.
      • FailureCause

        public FailureCause()
        Default constructor. Do not use this unless you are a serializer.