class Artifactory::Resource::Repository
- Artifactory::Resource::Repository
- Artifactory::Resource::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Extended Modules
Defined in:
artifactory/resources/repository.crConstant Summary
- 
        BASE_URL = "artifactory/api/repositories"
Constructors
Instance Method Summary
- 
        #api_path : String
        
          The path to this repository on the server. 
- #blacked_out : Bool
- #blacked_out=(blacked_out : Bool)
- #calculate_yum_metadata : Bool
- #calculate_yum_metadata=(calculate_yum_metadata : Bool)
- #checksum_policy_type : String
- #checksum_policy_type=(checksum_policy_type : String)
- 
        #content_type
        
          The default Content-Type for this repository. 
- 
        #delete
        
          Delete this repository from artifactory, suppressing any +ResourceNotFound+ exceptions might occur. 
- #description : String
- #description=(description : String)
- #excludes_pattern : String
- #excludes_pattern=(excludes_pattern : String)
- #handle_releases : Bool
- #handle_releases=(handle_releases : Bool)
- #handle_snapshots : Bool
- #handle_snapshots=(handle_snapshots : Bool)
- 
        #headers
        
          The default headers for this object. 
- #includes_pattern : String
- #includes_pattern=(includes_pattern : String)
- #key : String
- #key=(key : String)
- #max_unique_snapshots : Int32
- #max_unique_snapshots=(max_unique_snapshots : Int32)
- #max_unique_tags : Int32
- #max_unique_tags=(max_unique_tags : Int32)
- #notes : String
- #notes=(notes : String)
- #package_type : String
- #package_type=(package_type : String)
- #property_sets : Array(String)
- #property_sets=(property_sets : Array(String))
- #rclass : String
- #rclass=(rclass : String)
- #repo_layout_ref : String
- #repo_layout_ref=(repo_layout_ref : String)
- 
        #save
        
          Creates or updates a repository configuration depending on if the repository configuration previously existed. 
- #snapshot_version_behavior : String
- #snapshot_version_behavior=(snapshot_version_behavior : String)
- #suppress_pom_consistency_checks : Bool
- #suppress_pom_consistency_checks=(suppress_pom_consistency_checks : Bool)
- #yum_root_depth : Int32
- #yum_root_depth=(yum_root_depth : Int32)
Instance methods inherited from class Artifactory::Resource::Base
  
  
    
      client : Artifactory::Client
    client, 
    
  
    
      client=(client : Artifactory::Client)
    client=, 
    
  
    
      to_s(io)
    to_s, 
    
  
    
      url_safe(value)
    url_safe
    
  
    
    
  
    
    
    
  
    
    
    
  
Constructor Detail
Instance Method Detail
The default Content-Type for this repository. It varies based on the repository type.
Delete this repository from artifactory, suppressing any +ResourceNotFound+ exceptions might occur.
Creates or updates a repository configuration depending on if the repository configuration previously existed. This method also works around Artifactory's dangerous default behavior:
An existing repository with the same key are removed from the configuration and its content is removed!