Class: Moult::Boundaries::Packwerk::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/moult/boundaries/packwerk.rb

Overview

The Moult-owned result of reading a project's packwerk artifacts. configured is false when the project has no packwerk.yml (not a packwerk project), in which case violations is empty. +backend+/+backend_version+ originate here so "packwerk" stays isolated to this file.

Instance Attribute Summary collapse

Instance Attribute Details

#backendObject

Returns the value of attribute backend

Returns:

  • (Object)

    the current value of backend



49
50
51
# File 'lib/moult/boundaries/packwerk.rb', line 49

def backend
  @backend
end

#backend_versionObject

Returns the value of attribute backend_version

Returns:

  • (Object)

    the current value of backend_version



49
50
51
# File 'lib/moult/boundaries/packwerk.rb', line 49

def backend_version
  @backend_version
end

#configuredObject

Returns the value of attribute configured

Returns:

  • (Object)

    the current value of configured



49
50
51
# File 'lib/moult/boundaries/packwerk.rb', line 49

def configured
  @configured
end

#violationsObject

Returns the value of attribute violations

Returns:

  • (Object)

    the current value of violations



49
50
51
# File 'lib/moult/boundaries/packwerk.rb', line 49

def violations
  @violations
end