forked from tracee/contextlogger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tobias Gindler
committed
Aug 17, 2015
1 parent
74cbd7d
commit b30a128
Showing
11 changed files
with
99 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 15 additions & 16 deletions
31
core/src/main/java/io/tracee/contextlogger/api/TraceeContextStringRepresentationBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
package io.tracee.contextlogger.api; | ||
|
||
import java.util.Map; | ||
import java.util.Set; | ||
|
||
import io.tracee.contextlogger.contextprovider.api.Profile; | ||
import io.tracee.contextlogger.outputgenerator.writer.OutputWriterConfiguration; | ||
|
||
import java.util.Map; | ||
import java.util.Set; | ||
|
||
/** | ||
* Annotation to mark class as toJson builder implementations. | ||
* Created by Tobias Gindler, holisticon AG on 20.03.14. | ||
* Annotation to mark class as to string representation builder implementations. | ||
*/ | ||
public interface TraceeContextStringRepresentationBuilder { | ||
|
||
Set<Class> getWrapperClasses(); | ||
Set<Class> getWrapperClasses(); | ||
|
||
void setWrapperClasses(final Set<Class> wrapperClasses); | ||
void setWrapperClasses(final Set<Class> wrapperClasses); | ||
|
||
boolean getEnforceOrder(); | ||
boolean getEnforceOrder(); | ||
|
||
void setEnforceOrder(final boolean keepOrder); | ||
void setEnforceOrder(final boolean keepOrder); | ||
|
||
String createStringRepresentation(final Object... instancesToLog); | ||
String createStringRepresentation(final Object... instancesToLog); | ||
|
||
void setOutputWriterConfiguration(final OutputWriterConfiguration outputWriterConfiguration); | ||
void setOutputWriterConfiguration(final OutputWriterConfiguration outputWriterConfiguration); | ||
|
||
void setManualContextOverrides(final Map<String, Boolean> manualContextOverrides); | ||
void setManualContextOverrides(final Map<String, Boolean> manualContextOverrides); | ||
|
||
Map<String, Boolean> getManualContextOverrides(); | ||
Map<String, Boolean> getManualContextOverrides(); | ||
|
||
TraceeContextStringRepresentationBuilder cloneStringRepresentationBuilder(); | ||
TraceeContextStringRepresentationBuilder cloneStringRepresentationBuilder(); | ||
|
||
void setProfile(final Profile profile); | ||
void setProfile(final Profile profile); | ||
|
||
Profile getProfile(); | ||
Profile getProfile(); | ||
|
||
} |
25 changes: 0 additions & 25 deletions
25
core/src/main/java/io/tracee/contextlogger/api/internal/ContextLoggerBuilderAccessable.java
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
core/src/main/java/io/tracee/contextlogger/api/internal/ContextLoggerBuilderAccessible.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package io.tracee.contextlogger.api.internal; | ||
|
||
import io.tracee.contextlogger.api.ContextLogger; | ||
import io.tracee.contextlogger.api.TraceeContextStringRepresentationBuilder; | ||
import io.tracee.contextlogger.impl.ContextLoggerConfiguration; | ||
|
||
/** | ||
* Marks a class that a {@link TraceeContextStringRepresentationBuilder} can be added. | ||
* Created by Tobias Gindler on 19.06.14. | ||
*/ | ||
public interface ContextLoggerBuilderAccessible extends ContextLogger { | ||
|
||
/** | ||
* Used to apply the string representation builder. | ||
* | ||
* @param stringRepresentationBuilder the string representation builder to be applied | ||
*/ | ||
void setStringRepresentationBuilder(final TraceeContextStringRepresentationBuilder stringRepresentationBuilder); | ||
|
||
/** | ||
* Gets the context logger configuration. | ||
*/ | ||
ContextLoggerConfiguration getContextLoggerConfiguration(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters