| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package com.github.netkorp.telegram.framework.properties; |
||
| 11 | @Component |
||
| 12 | @ConfigurationProperties("telegram.commands") |
||
| 13 | public class CommandProperties { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * List with the names of free commands. |
||
| 17 | */ |
||
| 18 | private List<String> free; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Returns the list with the names of free commands. |
||
| 22 | * |
||
| 23 | * @return the list with the names of free commands. |
||
| 24 | */ |
||
| 25 | public List<String> getFree() { |
||
| 26 | return free; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Sets the names of free commands. |
||
| 31 | * |
||
| 32 | * @param free the names of free commands. |
||
| 33 | */ |
||
| 34 | public void setFree(List<String> free) { |
||
| 35 | this.free = free; |
||
| 36 | } |
||
| 38 |