Class: Gitlab::Ci::Pipeline::Chain::Base
- Inherits:
-
Object
- Object
- Gitlab::Ci::Pipeline::Chain::Base
- Defined in:
- lib/gitlab/ci/pipeline/chain/base.rb
Direct Known Subclasses
AssignPartition, Build, Gitlab::Ci::Pipeline::Chain::Build::Associations, CancelPendingPipelines, ComponentUsage, Config::Content, Config::Process, Create, CreateCrossDatabaseAssociations, EnsureEnvironments, EnsureResourceGroups, EvaluateWorkflowRules, KeywordUsage, Limit::ActiveJobs, Limit::Deployments, Limit::RateLimit, Limit::Size, Metrics, Pipeline::Process, PipelineExecutionPolicies::ApplyPolicies, PipelineExecutionPolicies::EvaluatePolicies, Populate, PopulateMetadata, RemoveUnwantedChatJobs, Seed, SeedBlock, Skip, StopDryRun, TemplateUsage, Validate::Abilities, Validate::AfterConfig, Validate::External, Validate::Repository, Validate::SecurityOrchestrationPolicy
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#pipeline ⇒ Object
readonly
Returns the value of attribute pipeline.
Instance Method Summary collapse
- #break? ⇒ Boolean
-
#initialize(pipeline, command) ⇒ Base
constructor
A new instance of Base.
- #perform! ⇒ Object
Constructor Details
#initialize(pipeline, command) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 12 def initialize(pipeline, command) @pipeline = pipeline @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
8 9 10 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 8 def command @command end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 8 def config @config end |
#pipeline ⇒ Object (readonly)
Returns the value of attribute pipeline.
8 9 10 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 8 def pipeline @pipeline end |
Instance Method Details
#break? ⇒ Boolean
21 22 23 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 21 def break? raise NotImplementedError end |
#perform! ⇒ Object
17 18 19 |
# File 'lib/gitlab/ci/pipeline/chain/base.rb', line 17 def perform! raise NotImplementedError end |