| 1 | package org.etsi.common.configuration; |
|---|
| 2 | |
|---|
| 3 | import org.etsi.common.logging.LoggingConfiguration; |
|---|
| 4 | |
|---|
| 5 | public abstract class ConfigurationProfile { |
|---|
| 6 | |
|---|
| 7 | protected String profileName; |
|---|
| 8 | protected String profileVersion; |
|---|
| 9 | protected String resourceExtensionsRegExp = "ttcn|ttcn3|3mp"; |
|---|
| 10 | protected String projectExtension = "t3p"; |
|---|
| 11 | protected boolean settingRecursiveProcessing = true; |
|---|
| 12 | protected boolean settingAbortOnError = true; |
|---|
| 13 | protected LoggingConfiguration loggingConfiguration = new LoggingConfiguration(); |
|---|
| 14 | protected boolean statShowSummary = true; |
|---|
| 15 | protected boolean statShowLOC = true; |
|---|
| 16 | |
|---|
| 17 | public ConfigurationProfile() { |
|---|
| 18 | super(); |
|---|
| 19 | } |
|---|
| 20 | |
|---|
| 21 | public String getProfileName() { |
|---|
| 22 | return profileName; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | public void setProfileName(String profileName) { |
|---|
| 26 | this.profileName = profileName; |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | public void setSettingRecursiveProcessing(boolean settingRecursiveProcessing) { |
|---|
| 30 | this.settingRecursiveProcessing = settingRecursiveProcessing; |
|---|
| 31 | } |
|---|
| 32 | |
|---|
| 33 | public boolean isSettingRecursiveProcessing() { |
|---|
| 34 | return settingRecursiveProcessing; |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | public void setStatShowLOC(boolean statShowLOC) { |
|---|
| 38 | this.statShowLOC = statShowLOC; |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | public boolean isStatShowLOC() { |
|---|
| 42 | return statShowLOC; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | public void setSettingAbortOnError(boolean settingAbortOnError) { |
|---|
| 46 | this.settingAbortOnError = settingAbortOnError; |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | public boolean isSettingAbortOnError() { |
|---|
| 50 | return settingAbortOnError; |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | public void setProfileVersion(String profileVersion) { |
|---|
| 54 | this.profileVersion = profileVersion; |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | public String getProfileVersion() { |
|---|
| 58 | return profileVersion; |
|---|
| 59 | } |
|---|
| 60 | |
|---|
| 61 | public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration) { |
|---|
| 62 | this.loggingConfiguration = loggingConfiguration; |
|---|
| 63 | } |
|---|
| 64 | |
|---|
| 65 | public LoggingConfiguration getLoggingConfiguration() { |
|---|
| 66 | return loggingConfiguration; |
|---|
| 67 | } |
|---|
| 68 | |
|---|
| 69 | public void setStatShowSummary(boolean statShowSummary) { |
|---|
| 70 | this.statShowSummary = statShowSummary; |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | public boolean isStatShowSummary() { |
|---|
| 74 | return statShowSummary; |
|---|
| 75 | } |
|---|
| 76 | |
|---|
| 77 | public void setResourceExtensionsRegExp(String resourceExtensionsRegExp) { |
|---|
| 78 | this.resourceExtensionsRegExp = resourceExtensionsRegExp; |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | public String getResourceExtensionsRegExp() { |
|---|
| 82 | return resourceExtensionsRegExp; |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | public void setProjectExtension(String projectExtension) { |
|---|
| 86 | this.projectExtension = projectExtension; |
|---|
| 87 | } |
|---|
| 88 | |
|---|
| 89 | public String getProjectExtension() { |
|---|
| 90 | return projectExtension; |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | } |
|---|