-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tmp/expr-profiles-hardening'
- Loading branch information
Showing
89 changed files
with
994 additions
and
444 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
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
43 changes: 43 additions & 0 deletions
43
.../src/main/java/com/evolveum/midpoint/schema/config/MultiSourceDataHandlingConfigItem.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,43 @@ | ||
/* | ||
* Copyright (C) 2010-2023 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
package com.evolveum.midpoint.schema.config; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
import com.evolveum.midpoint.xml.ns._public.common.common_3.MultiSourceDataHandlingType; | ||
|
||
public class MultiSourceDataHandlingConfigItem extends ConfigurationItem<MultiSourceDataHandlingType> { | ||
|
||
public MultiSourceDataHandlingConfigItem(@NotNull ConfigurationItem<MultiSourceDataHandlingType> original) { | ||
super(original); | ||
} | ||
|
||
public MultiSourceDataHandlingConfigItem( | ||
@NotNull MultiSourceDataHandlingType value, @NotNull ConfigurationItemOrigin origin) { | ||
super(value, origin); | ||
} | ||
|
||
public static MultiSourceDataHandlingConfigItem of( | ||
@NotNull MultiSourceDataHandlingType bean, | ||
@NotNull OriginProvider<? super MultiSourceDataHandlingType> originProvider) { | ||
return new MultiSourceDataHandlingConfigItem(bean, originProvider.origin(bean)); | ||
} | ||
|
||
@Override | ||
public @NotNull String localDescription() { | ||
return "object template multi-source data handling definition"; | ||
} | ||
|
||
public @Nullable ObjectTemplateMappingConfigItem getDefaultAuthoritativeSource() { | ||
return child( | ||
value().getDefaultAuthoritativeSource(), | ||
ObjectTemplateMappingConfigItem.class, | ||
MultiSourceDataHandlingType.F_DEFAULT_AUTHORITATIVE_SOURCE); | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...rc/main/java/com/evolveum/midpoint/schema/config/MultiSourceItemDefinitionConfigItem.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,27 @@ | ||
/* | ||
* Copyright (C) 2010-2023 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
|
||
package com.evolveum.midpoint.schema.config; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import com.evolveum.midpoint.xml.ns._public.common.common_3.MultiSourceItemDefinitionType; | ||
|
||
public class MultiSourceItemDefinitionConfigItem extends ConfigurationItem<MultiSourceItemDefinitionType> { | ||
|
||
@SuppressWarnings("unused") // called dynamically | ||
public MultiSourceItemDefinitionConfigItem(@NotNull ConfigurationItem<MultiSourceItemDefinitionType> original) { | ||
super(original); | ||
} | ||
|
||
public ObjectTemplateMappingConfigItem getSelection() { | ||
return child( | ||
value().getSelection(), | ||
ObjectTemplateMappingConfigItem.class, | ||
MultiSourceItemDefinitionType.F_SELECTION); | ||
} | ||
} |
Oops, something went wrong.