Class: Archsight::Resources::TechnologyArtifact

Inherits:
Base
  • Object
show all
Defined in:
lib/archsight/resources/technology_artifact.rb

Overview

TechnologyArtifact usually a source code repository or container

Constant Summary collapse

SPDX_CUSTOM_VALUES =

License information

Set.new(%w[NOASSERTION proprietary unknown]).freeze
SPDX_VALIDATOR =
lambda { |v|
  "invalid SPDX license identifier '#{v}'" unless SPDX_CUSTOM_VALUES.include?(v) || SpdxLicenses.exist?(v)
}

Instance Attribute Summary

Attributes inherited from Base

#path_ref, #raw, #references

Method Summary

Methods inherited from Base

#abandoned?, annotation, annotation_enum, annotation_format, annotation_matching, annotation_title, annotations, #annotations, computed_annotation, #computed_annotation_value, computed_annotations, description, discovered_annotations, filterable_annotations, #has_relations?, icon, include_annotations, inherited, #initialize, #kind, #klass, layer, list_annotations, matches_annotation_pattern?, #merge!, #metadata, #name, #raise, #referenced_by, #references_grouped, relation, relations, #relations, #relations_grouped, #set_computed_annotation, #set_relations, #spec, #to_s, #verb_allowed?, #verb_kind_allowed?, #verify!

Constructor Details

This class inherits a constructor from Archsight::Resources::Base