Class: Puppet_X::Coi::Jboss::Internal::State::SecurityDomainState

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb

Overview

Class that holds information about current state of securitydomain

Instance Method Summary collapse

Constructor Details

#initialize(is_cache_default = false, is_authentication = false, is_login_modules = false) ⇒ SecurityDomainState

Standard constructor

Parameters:

  • is_cache_default (Boolean) (defaults to: false)

    true if there is cache default in system

  • is_authentication (Boolean) (defaults to: false)

    true if there is authentication in system

  • is_login_modules (Boolean) (defaults to: false)

    true if there are login modules in system



8
9
10
11
12
13
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 8

def initialize(is_cache_default = false, is_authentication = false,  = false)
  @is_cache_default = is_cache_default
  @is_authentication = is_authentication
  @is_login_modules = 
  @compilator = Puppet_X::Coi::Jboss::Internal::CommandCompilator.new
end

Instance Method Details

#cache_default?Boolean

Standard getter for cache_default

Returns:

  • (Boolean)

    true if there is cache_default set



17
18
19
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 17

def cache_default?
  @is_cache_default
end

#is_authenticationBoolean

Standard getter for authentication

Returns:

  • (Boolean)

    true if there is authentication set



29
30
31
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 29

def is_authentication
  @is_authentication
end

#is_authentication=(value) ⇒ Object

Standard setter fot authenticationg

Parameters:

  • value (Boolean)


35
36
37
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 35

def is_authentication=(value)
  @is_authentication = value
end

#is_cache_default=(value) ⇒ Object

Standard setter fot cache_default

Parameters:

  • value (Boolean)


23
24
25
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 23

def is_cache_default=(value)
  @is_cache_default = value
end

#is_login_modulesBoolean

Standard getter for login modules

Returns:

  • (Boolean)

    true if there are login modules set



41
42
43
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 41

def 
  @is_login_modules
end

#is_login_modules=(value) ⇒ Object

Standard setter fot login modules

Parameters:

  • value (Boolean)


47
48
49
# File 'lib/puppet_x/coi/jboss/internal/state/securitydomain_state.rb', line 47

def (value)
  @is_login_modules = value
end