# Class: ParseConfigCommand

## jsbeam ParseConfigCommand

Command that parses config

#### new ParseConfigCommand(commandID, data)

  Command that parses config. If no config is found in dependencies controller, command will fail. Properties of config file are added to properties controller. Language info is added to config controller. Mode is added to config controller.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `commandID` | string | command id
  `data` | chaining.CommandDataVO | undefined | command data

### Extends

- chaining.AbstractCommand

### Members

#### <readonly> dispatcher

  Dispatcher to recieve signals from the command

  ##### Properties:

  Type | Description
  --- | ---
  coreutils.Signal |

  Inherited From:
    - chaining.AbstractCommand#dispatcher
  Default Value:
    - null

#### <readonly> running

  Indicates if the command is executed and not ready yet.

  ##### Properties:

  Type | Description
  --- | ---
  boolean |

  Inherited From:
    - chaining.AbstractCommand#running
  Default Value:
    - false

### Methods

#### <protected> _complete()

  Called when command completed its task. Sends ready event and if autoDestroy is true then destroys command
  Inherited From:
    - chaining.AbstractCommand#_complete

#### <protected> _error(msg)

  Called when command can't complete its task. Sends error event and if autoDestroy is true then desotry command

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `msg` | string | null | error message

  Inherited From:
    - chaining.AbstractCommand#_error

#### <abstract, protected> _execute()

  Execute command. Override this method to execute specific task
  Inherited From:
    - chaining.AbstractCommand#_execute

#### <protected> _getProperty(propertyID)

  Get property

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `propertyID` | string | id of property

  Inherited From:
    - chaining.AbstractCommand#_getProperty

  ##### Returns:

  value of property
  Type
    * | null

#### <protected> _hasProperty(propertyID)

  Check if commands has proeprty

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `propertyID` | string | id of property

  Inherited From:
    - chaining.AbstractCommand#_hasProperty

  ##### Returns:

  has/hasn't
  Type
    boolean

#### addProperty(id, value)

  Add proeprty to the command

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | id of the property
  `value` | * | value of the property

  Inherited From:
    - chaining.AbstractCommand#addProperty

  ##### Returns:

  returns self for chaining
  Type
    chaining.AbstractCommand

#### destroy()

  Destroy command object and release resources
  Inherited From:
    - chaining.AbstractCommand#destroy

#### removeProperty(id)

  Remove property of the command

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | id of the property

  Inherited From:
    - chaining.AbstractCommand#removeProperty

  ##### Returns:

  returns self for chaining
  Type
    chaining.AbstractCommand

#### start()

  Start execution of the comamnd
  Inherited From:
    - chaining.AbstractCommand#start

#### stop()

  Stop execution of the comamnd
  Inherited From:
    - chaining.AbstractCommand#stop

#### Search results