public class UserConfigurationCompare extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static Set<String> | ignoredProperties | 
| Constructor and Description | 
|---|
| UserConfigurationCompare() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static <T> T | castTo(Class<T> clazz,
      Object entity) | 
| static boolean | configEqual(Object entity1,
           Object entity2)This method detects if the user has changed the configuration of an entity. | 
| protected static boolean | configEqualKubernetesDTO(Object entity1,
                        Object entity2,
                        Class<?> clazz)Compares 2 instances of the given Kubernetes DTO class to see if the user has changed their configuration. | 
| protected static boolean | configEqualList(List v1,
               List v2) | 
| protected static boolean | configEqualMap(Map entity1,
              Map entity2) | 
| protected static boolean | configEqualObjectMeta(io.fabric8.kubernetes.api.model.ObjectMeta entity1,
                     io.fabric8.kubernetes.api.model.ObjectMeta entity2) | 
| protected static Object | invokeMethod(Object entity,
            Method readMethod) | 
| protected static int | size(Collection coll) | 
| protected static int | size(Map map) | 
public static boolean configEqual(Object entity1, Object entity2)
protected static boolean configEqualKubernetesDTO(@NotNull
                                                  Object entity1,
                                                  @NotNull
                                                  Object entity2,
                                                  @NotNull
                                                  Class<?> clazz)
ignoredProperties such as status or timestamp propertiesprotected static Object invokeMethod(@NotNull Object entity, Method readMethod) throws InvocationTargetException, IllegalAccessException
protected static boolean configEqualObjectMeta(io.fabric8.kubernetes.api.model.ObjectMeta entity1,
                                               io.fabric8.kubernetes.api.model.ObjectMeta entity2)
protected static int size(Map map)
protected static int size(Collection coll)
Copyright © 2011–2017 Red Hat. All rights reserved.