| 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 ignoredResourceRegExp = ".*IGNORED.*"; |
|---|
| 11 | protected String projectExtension = "t3p"; |
|---|
| 12 | protected boolean settingRecursiveProcessing = true; |
|---|
| 13 | protected boolean settingAbortOnError = true; |
|---|
| 14 | protected LoggingConfiguration loggingConfiguration = new LoggingConfiguration(); |
|---|
| 15 | protected boolean statShowSummary = true; |
|---|
| 16 | protected boolean statShowLOC = true; |
|---|
| 17 | |
|---|
| 18 | public ConfigurationProfile() { |
|---|
| 19 | super(); |
|---|
| 20 | } |
|---|
| 21 | |
|---|
| 22 | public String getProfileName() { |
|---|
| 23 | return profileName; |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | public void setProfileName(String profileName) { |
|---|
| 27 | this.profileName = profileName; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | public void setSettingRecursiveProcessing(boolean settingRecursiveProcessing) { |
|---|
| 31 | this.settingRecursiveProcessing = settingRecursiveProcessing; |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | public boolean isSettingRecursiveProcessing() { |
|---|
| 35 | return settingRecursiveProcessing; |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | public void setStatShowLOC(boolean statShowLOC) { |
|---|
| 39 | this.statShowLOC = statShowLOC; |
|---|
| 40 | } |
|---|
| 41 | |
|---|
| 42 | public boolean isStatShowLOC() { |
|---|
| 43 | return statShowLOC; |
|---|
| 44 | } |
|---|
| 45 | |
|---|
| 46 | public void setSettingAbortOnError(boolean settingAbortOnError) { |
|---|
| 47 | this.settingAbortOnError = settingAbortOnError; |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | public boolean isSettingAbortOnError() { |
|---|
| 51 | return settingAbortOnError; |
|---|
| 52 | } |
|---|
| 53 | |
|---|
| 54 | public void setProfileVersion(String profileVersion) { |
|---|
| 55 | this.profileVersion = profileVersion; |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | public String getProfileVersion() { |
|---|
| 59 | return profileVersion; |
|---|
| 60 | } |
|---|
| 61 | |
|---|
| 62 | public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration) { |
|---|
| 63 | this.loggingConfiguration = loggingConfiguration; |
|---|
| 64 | } |
|---|
| 65 | |
|---|
| 66 | public LoggingConfiguration getLoggingConfiguration() { |
|---|
| 67 | return loggingConfiguration; |
|---|
| 68 | } |
|---|
| 69 | |
|---|
| 70 | public void setStatShowSummary(boolean statShowSummary) { |
|---|
| 71 | this.statShowSummary = statShowSummary; |
|---|
| 72 | } |
|---|
| 73 | |
|---|
| 74 | public boolean isStatShowSummary() { |
|---|
| 75 | return statShowSummary; |
|---|
| 76 | } |
|---|
| 77 | |
|---|
| 78 | public void setResourceExtensionsRegExp(String resourceExtensionsRegExp) { |
|---|
| 79 | this.resourceExtensionsRegExp = resourceExtensionsRegExp; |
|---|
| 80 | } |
|---|
| 81 | |
|---|
| 82 | public String getResourceExtensionsRegExp() { |
|---|
| 83 | return resourceExtensionsRegExp; |
|---|
| 84 | } |
|---|
| 85 | |
|---|
| 86 | public void setProjectExtension(String projectExtension) { |
|---|
| 87 | this.projectExtension = projectExtension; |
|---|
| 88 | } |
|---|
| 89 | |
|---|
| 90 | public String getProjectExtension() { |
|---|
| 91 | return projectExtension; |
|---|
| 92 | } |
|---|
| 93 | |
|---|
| 94 | public void setIgnoredResourceRegExt(String ignoredResourceRegExp) { |
|---|
| 95 | this.ignoredResourceRegExp = ignoredResourceRegExp; |
|---|
| 96 | } |
|---|
| 97 | |
|---|
| 98 | public String getIgnoredResourceRegExp() { |
|---|
| 99 | return ignoredResourceRegExp; |
|---|
| 100 | } |
|---|
| 101 | |
|---|
| 102 | } |
|---|